From ef7da3747df5ab89b2e83a1a047baad88094997e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 2 Nov 2006 04:24:33 +0000 Subject: [PATCH] prevent replication of markers during undo/redo git-svn-id: svn://localhost/ardour2/trunk@1054 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/location.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);