use aligned malloc for luaDSP
[ardour.git] / libs / ardour / presentation_info.cc
index cfed463d83b7e5f5fea76fce05583a0a70c2b29c..fe094dae6bb667d5a41311b2d690fe2d9a66cb4a 100644 (file)
@@ -52,6 +52,7 @@ const PresentationInfo::Flag PresentationInfo::Bus = PresentationInfo::Flag (Pre
 const PresentationInfo::Flag PresentationInfo::Track = PresentationInfo::Flag (PresentationInfo::AudioTrack|PresentationInfo::MidiTrack);
 const PresentationInfo::Flag PresentationInfo::Route = PresentationInfo::Flag (PresentationInfo::Bus|PresentationInfo::Track);
 const PresentationInfo::Flag PresentationInfo::AllRoutes = PresentationInfo::Flag (PresentationInfo::Route|PresentationInfo::MasterOut|PresentationInfo::MonitorOut);
+const PresentationInfo::Flag PresentationInfo::AllStripables = PresentationInfo::Flag (PresentationInfo::AllRoutes|PresentationInfo::VCA);
 
 void
 PresentationInfo::make_property_quarks ()
@@ -127,7 +128,7 @@ PresentationInfo::set_state (XMLNode const& node, int /* version */)
        if ((prop = node.property (X_("color"))) != 0) {
                color_t c = atoi (prop->value());
                if (c != _color) {
-                       pc.add (Properties::order);
+                       pc.add (Properties::color);
                        _color = c;
                }
        }
@@ -174,8 +175,7 @@ PresentationInfo::color_set () const
         * this is heuristic, but it is fairly realistic. who will ever set
         * a color to completely transparent black? only the constructor ..
         */
-
-       return _color == 0;
+       return _color != 0;
 }
 
 void