Fix merge regression: use TempoLines class instead of same built in to editor.
[ardour.git] / libs / ardour / session_command.cc
index e8670e719923c8bd5fbda3d9a1dd9fc44c913364..b696f7d410a6b0f6c3ed61a6b4bc6e1e96239b6b 100644 (file)
@@ -72,7 +72,7 @@ Session::memento_command_factory(XMLNode *n)
            before = new XMLNode(*n->children().front());
            after = new XMLNode(*n->children().back());
            child = before;
-    }
+    } 
                    
     if (!child)
     {
@@ -104,7 +104,7 @@ Session::memento_command_factory(XMLNode *n)
            }
     } else if (obj_T == typeid (Route).name() || obj_T == typeid (AudioTrack).name() || obj_T == typeid(MidiTrack).name()) { 
            return new MementoCommand<Route>(*route_by_id(id), before, after);
-    } else if (obj_T == typeid (Curve).name() || obj_T == typeid (AutomationList).name()) {
+    } else if (obj_T == typeid (Evoral::Curve).name() || obj_T == typeid (AutomationList).name()) {
            if (automation_lists.count(id))
                    return new MementoCommand<AutomationList>(*automation_lists[id], before, after);
     } else if (registry.count(id)) { // For Editor and AutomationLine which are off-limits here