diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-10 17:31:16 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-10 17:31:16 +0000 |
commit | 325671e20afa56f5c796d14ce9bb76146a232f0b (patch) | |
tree | d8eca3efc7d95d013459cee81fa55732a5b6d35d /libs/ardour/processor.cc | |
parent | b2bc408cef1715de0009c65ff082c6e914de1991 (diff) |
how about that ... a monitor/main section .. GUI is still unfinished .. several small fixes to processor loading/listen mgmt and a few debug output lines rmeoved. knob images are provisional, and can be found in icons/knob.png and related files
git-svn-id: svn://localhost/ardour2/branches/3.0@6744 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/processor.cc')
-rw-r--r-- | libs/ardour/processor.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index 712ca927e5..1abcc57f41 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -84,7 +84,6 @@ Processor::Processor (Session& session, const XMLNode& node) , _display_to_user (true) { set_state (node, Stateful::loading_state_version); - _pending_active = _active; } XMLNode& @@ -167,6 +166,7 @@ Processor::set_state_2X (const XMLNode & node, int /*version*/) if ((prop = (*i)->property ("active")) != 0) { if (_active != string_is_affirmative (prop->value())) { _active = !_active; + _pending_active = _active; ActiveChanged (); /* EMIT_SIGNAL */ } } @@ -238,8 +238,6 @@ Processor::set_state (const XMLNode& node, int version) } if ((prop = node.property ("active")) == 0) { - warning << _("XML node describing a processor is missing the `active' field," - "trying legacy active flag from child node") << endmsg; if (legacy_active) { prop = legacy_active; } else { @@ -250,7 +248,8 @@ Processor::set_state (const XMLNode& node, int version) if (_active != string_is_affirmative (prop->value())) { _active = !_active; - ActiveChanged (); /* EMIT_SIGNAL */ + _pending_active = _active; + ActiveChanged (); /* EMIT_SIGNAL */ } return 0; |