From e6b32e0c06254a99b09133b39e4f7c06bd9ec6ed Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Wed, 31 Aug 2011 17:12:19 +0000 Subject: fixed paste clipped clone bug --- muse2/muse/arranger/pcanvas.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'muse2/muse/arranger/pcanvas.cpp') diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index 8380f446..b01f2046 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -2650,6 +2650,8 @@ void PartCanvas::copy_in_range(PartList* pl_) Part* p2; track->splitPart(part, lpos, p1, p2); + p1->events()->incARef(-1); + p2->events()->incARef(-1); part=p2; } @@ -2660,7 +2662,9 @@ void PartCanvas::copy_in_range(PartList* pl_) Part* p2; track->splitPart(part, rpos, p1, p2); - + p1->events()->incARef(-1); + p2->events()->incARef(-1); + part=p1; } -- cgit v1.2.3