diff options
author | Carl Hetherington <carl@carlh.net> | 2011-03-07 14:06:03 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-03-07 14:06:03 +0000 |
commit | 105fec6858f7bd0c39b6b3cb4818191ba25b807f (patch) | |
tree | d5b027102f0814b283733823b50786b08060b544 | |
parent | a6ab93be2421cd2ab9aa941e37eb621292cb4b05 (diff) |
Fix mute state on loading 2.X sessions (#3829).
git-svn-id: svn://localhost/ardour2/branches/3.0@9093 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/route.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 6be38966d8..1a638bb1b1 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -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); } } |