diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-09-25 22:38:44 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-09-25 22:38:44 +0000 |
commit | d8d238a6ecd242efe701b726f9aa887fe6079210 (patch) | |
tree | d06b8be019fe162d6f9d832ce17e8ed993d853fc | |
parent | 361b6337714bef888a89978c8fe4e8385f162d91 (diff) |
remove wierd handling of edit_mode
git-svn-id: svn://localhost/ardour2/trunk@928 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/session_state.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index cddf5514bb..9d3ce28225 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -167,7 +167,6 @@ Session::first_stage_init (string fullpath, string snapshot_name) g_atomic_int_set (&_capture_load, 100); g_atomic_int_set (&_playback_load_min, 100); g_atomic_int_set (&_capture_load_min, 100); - pending_edit_mode = Config->get_edit_mode (); _play_range = false; waiting_to_start = false; _exporting = false; @@ -717,20 +716,6 @@ Session::load_options (const XMLNode& node) Config->set_variables (node, ConfigVariableBase::Session); - /* we cannot set edit mode if we are loading a session, - because it might destroy the playlist's positioning - */ - - if ((child = find_named_node (node, "edit-mode")) != 0) { - if ((prop = child->property ("val")) != 0) { - if (prop->value() == "slide") { - pending_edit_mode = Slide; - } else if (prop->value() == "splice") { - pending_edit_mode = Splice; - } - } - } - if ((child = find_named_node (node, "end-marker-is-free")) != 0) { if ((prop = child->property ("val")) != 0) { _end_location_is_free = (prop->value() == "yes"); @@ -1167,10 +1152,6 @@ Session::set_state (const XMLNode& node) _click_io->set_state (*child); } - /* OK, now we can set edit mode */ - - Config->set_edit_mode (pending_edit_mode); - /* here beginneth the second phase ... */ StateReady (); /* EMIT SIGNAL */ |