summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-08-06 11:21:26 +0000
committerFlorian Jung <flo@windfisch.org>2011-08-06 11:21:26 +0000
commit5271f995194cffc3f9fe409198537b1422d1329b (patch)
tree88739d9052badbfd00ac1d35465bfbd93cfa7778 /muse2
parente2084952744efe4c6cf9137ba0c544c115064d5f (diff)
fixed "resize wave part crashes muse" bug
Diffstat (limited to 'muse2')
-rw-r--r--muse2/muse/part.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/muse2/muse/part.cpp b/muse2/muse/part.cpp
index 3e371bf4..239d53d5 100644
--- a/muse2/muse/part.cpp
+++ b/muse2/muse/part.cpp
@@ -852,7 +852,6 @@ void Song::cmdResizePart(Track* track, Part* oPart, unsigned int len, bool doClo
Event newEvent = e.clone();
newEvent.setLenFrame(new_partlength - event_startframe);
// Do not do port controller values and clone parts.
- audio->msgChangeEvent(e, newEvent, nPart, false, false, false);
operations.push_back(UndoOp(UndoOp::ModifyEvent, newEvent, e, nPart, false,false));
}
}
@@ -892,7 +891,6 @@ void Song::cmdResizePart(Track* track, Part* oPart, unsigned int len, bool doClo
nPart->setLenFrame(new_partlength);
// Do not do port controller values and clone parts.
- audio->msgChangePart(oPart, nPart, false, false, false);
operations.push_back(UndoOp(UndoOp::ModifyPart, oPart, nPart, false, false));
song->applyOperationGroup(operations);
}