new automation state model, sort of working, but not really
[ardour.git] / libs / ardour / crossfade.cc
index 1c4bdb6cad2fd9dc5ccc7accc455e86e8d9ad8a4..46a8e6e40086cc34276cb85a2eb575ebcd2cd246 100644 (file)
@@ -92,7 +92,7 @@ Crossfade::Crossfade (boost::shared_ptr<AudioRegion> in, boost::shared_ptr<Audio
                _follow_overlap = true;
        }
 
-       _active = Config->get_crossfades_active ();
+       _active = Config->get_xfades_active ();
        _fixed = true;
                
        initialize ();
@@ -160,6 +160,8 @@ Crossfade::Crossfade (const Playlist& playlist, XMLNode& node)
        }
 
        _length = 0;
+       _active = Config->get_xfades_active();
+
        initialize();
        
        if (set_state (node)) {