13
0

Set up initial gains with init_gain() before (rather than after) potentially restoring gain with Send::set_state (should fix #3546).

git-svn-id: svn://localhost/ardour2/branches/3.0@9834 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-07-10 23:55:48 +00:00
parent a7057d6965
commit 31d0eca307

View File

@ -223,10 +223,10 @@ InternalSend::set_state (const XMLNode& node, int version)
{
const XMLProperty* prop;
Send::set_state (node, version);
init_gain ();
Send::set_state (node, version);
if ((prop = node.property ("target")) != 0) {
_send_to_id = prop->value();