fix import of v2 session redirects: active or inactive
[ardour.git] / libs / ardour / processor.cc
index ca1f71db5ae0ea727ba145e65b109c85743cb3dc..fa6cab579ad7cff165ddc111c4beba1afc6fadae 100644 (file)
@@ -150,7 +150,9 @@ Processor::set_state_2X (const XMLNode & node, int /*version*/)
                        
                        set_id (**i);
 
-                       if ((prop = (*i)->property ("active")) != 0) {
+                       //note:  in A2, active state was stored in the Redirect node, not the child IO node
+                       /*
+                        * if ((prop = (*i)->property ("active")) != 0) {
                                bool const a = string_is_affirmative (prop->value ());
                                if (_active != a) {
                                        if (a) {
@@ -159,7 +161,8 @@ Processor::set_state_2X (const XMLNode & node, int /*version*/)
                                                deactivate ();
                                        }
                                }
-                       }
+                       }*/
+                       
                }
        }