fix mistaken logic for Route::MuteControllable::set_value()
This commit is contained in:
parent
fea89a7f9b
commit
2367240735
@ -70,7 +70,7 @@ Route::set_control (AutomationType type, double val, PBD::Controllable::GroupCon
|
|||||||
/* session must mediate group control */
|
/* session must mediate group control */
|
||||||
rl.reset (new RouteList);
|
rl.reset (new RouteList);
|
||||||
rl->push_back (shared_from_this());
|
rl->push_back (shared_from_this());
|
||||||
_session.set_mute (rl, !muted(), Session::rt_cleanup, group_override);
|
_session.set_mute (rl, val >= 0.5 ? true : false, Session::rt_cleanup, group_override);
|
||||||
return;
|
return;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user