From a2897ecef6da6a458aa1de8c2d9973a1e809dca2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Apr 2012 16:32:22 +0000 Subject: Fairly major change to the way in which crossfades are handled; they are now done with region fades, rather than separate objects. After this commit, Ardour will try to convert your session files to the new crossfade format, but will make a backup in your session folder first. If you have works in progress using Ardour 3 it is ***STRONGLY RECOMMENDED*** that you back up session files before updating to this commit. git-svn-id: svn://localhost/ardour2/branches/3.0@11986 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_command.cc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'libs/ardour/session_command.cc') diff --git a/libs/ardour/session_command.cc b/libs/ardour/session_command.cc index e5ddd0a097..68aba1a689 100644 --- a/libs/ardour/session_command.cc +++ b/libs/ardour/session_command.cc @@ -34,8 +34,6 @@ #include "ardour/session_playlists.h" #include "ardour/region_factory.h" #include "ardour/midi_automation_list_binder.h" -#include "ardour/crossfade_binder.h" -#include "ardour/crossfade.h" #include "pbd/error.h" #include "pbd/id.h" #include "pbd/statefuldestructible.h" @@ -143,19 +141,6 @@ Session::memento_command_factory(XMLNode *n) cerr << "Alist " << id << " not found\n"; - } else if (obj_T == "ARDOUR::Crossfade") { - if (have_id) { - boost::shared_ptr c = playlists->find_crossfade (id); - if (c) { - return new MementoCommand (*c.get(), before, after); - } - } else { - return new MementoCommand ( - new CrossfadeBinder (n, playlists), - before, after - ); - } - } else if (registry.count(id)) { // For Editor and AutomationLine which are off-limits herea return new MementoCommand(*registry[id], before, after); } -- cgit v1.2.3