Fix crash in tests; not sure about the root cause.
git-svn-id: svn://localhost/ardour2/branches/3.0@12639 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d14d30216b
commit
661a0444f4
@ -239,6 +239,9 @@ Surface::master_gain_changed ()
|
||||
}
|
||||
|
||||
boost::shared_ptr<AutomationControl> ac = _master_fader->control();
|
||||
if (!ac) {
|
||||
return;
|
||||
}
|
||||
|
||||
float normalized_position = ac->internal_to_interface (ac->get_value());
|
||||
if (normalized_position == _last_master_gain_written) {
|
||||
|
Loading…
Reference in New Issue
Block a user