mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Fixed OSC feedback after source change. Added OSC command to lock source.
This commit is contained in:
@@ -73,6 +73,17 @@ void SetAlpha::update(Source *s, float)
|
||||
finished_ = true;
|
||||
}
|
||||
|
||||
SetLock::SetLock(bool on) : SourceCallback(), lock_(on)
|
||||
{
|
||||
}
|
||||
|
||||
void SetLock::update(Source *s, float)
|
||||
{
|
||||
if (s)
|
||||
s->setLocked(lock_);
|
||||
|
||||
finished_ = true;
|
||||
}
|
||||
|
||||
Loom::Loom(float da, float duration) : SourceCallback(), speed_(da),
|
||||
duration_(duration), progress_(0.f)
|
||||
|
||||
Reference in New Issue
Block a user