Fix mute state on loading 2.X sessions (#3829).
git-svn-id: svn://localhost/ardour2/branches/3.0@9093 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -2078,8 +2078,8 @@ Route::_set_state_2X (const XMLNode& node, int version)
|
||||
bool first = true;
|
||||
bool muted = string_is_affirmative (prop->value());
|
||||
|
||||
if (muted){
|
||||
|
||||
if (muted) {
|
||||
|
||||
string mute_point;
|
||||
|
||||
if ((prop = node.property (X_("mute-affects-pre-fader"))) != 0) {
|
||||
@@ -2129,6 +2129,7 @@ Route::_set_state_2X (const XMLNode& node, int version)
|
||||
}
|
||||
|
||||
_mute_master->set_mute_points (mute_point);
|
||||
_mute_master->set_muted_by_self (true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user