summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-11-02 04:24:33 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-11-02 04:24:33 +0000
commitef7da3747df5ab89b2e83a1a047baad88094997e (patch)
tree2bfb07e71280d38eadfb538ec9c5c9d98e5e104b
parentf2b4b8d62acd24179897a55e6d1b240fa137f2e6 (diff)
prevent replication of markers during undo/redo
git-svn-id: svn://localhost/ardour2/trunk@1054 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/ardour/location.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc
index 579a0e2820..b46972ef2e 100644
--- a/libs/ardour/location.cc
+++ b/libs/ardour/location.cc
@@ -578,7 +578,10 @@ Locations::set_state (const XMLNode& node)
}
nlist = node.children();
-
+
+ locations.clear (); // dangerous
+ current_location = 0;
+
{
Glib::Mutex::Lock lm (lock);