13
0

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:
Carl Hetherington 2012-06-09 22:36:59 +00:00
parent d14d30216b
commit 661a0444f4

View File

@ -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) {