diff options
author | Florian Jung <flo@windfisch.org> | 2011-08-24 17:45:33 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-08-24 17:45:33 +0000 |
commit | 2387d77ad58f25983c47d36264f228f4f8078a37 (patch) | |
tree | 030c83ee6f53fc3ef12ba8798c25f048e11537d7 | |
parent | 35c95c10cca9938210818c0b809b1ff4f9c4ad3d (diff) |
fixed "moving notes in pianoroll with clone parts open duplicates notes"-bug
-rw-r--r-- | muse2/muse/midiedit/dcanvas.cpp | 4 | ||||
-rw-r--r-- | muse2/muse/midiedit/prcanvas.cpp | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/muse2/muse/midiedit/dcanvas.cpp b/muse2/muse/midiedit/dcanvas.cpp index d4ee9999..fd046bc7 100644 --- a/muse2/muse/midiedit/dcanvas.cpp +++ b/muse2/muse/midiedit/dcanvas.cpp @@ -244,10 +244,6 @@ UndoOp DrumCanvas::moveItem(CItem* item, const QPoint& pos, DragType dtype) newEvent.setPitch(npitch); newEvent.setTick(ntick); - // msgAddEvent and msgChangeEvent (below) will set these, but set them here first? - //item->setPart(part); - item->setEvent(newEvent); - // Added by T356, removed by flo93: with operation groups, it happens that the // part is too short right now, even if it's queued for being extended //if(((int)newEvent.endTick() - (int)part->lenTick()) > 0) diff --git a/muse2/muse/midiedit/prcanvas.cpp b/muse2/muse/midiedit/prcanvas.cpp index 9e99f24d..75171bf5 100644 --- a/muse2/muse/midiedit/prcanvas.cpp +++ b/muse2/muse/midiedit/prcanvas.cpp @@ -467,8 +467,6 @@ UndoOp PianoCanvas::moveItem(CItem* item, const QPoint& pos, DragType dtype) newEvent.setTick(ntick); newEvent.setLenTick(event.lenTick()); - item->setEvent(newEvent); - // Added by T356, removed by flo93: with operation groups, it happens that the // part is too short right now, even if it's queued for being extended //if(((int)newEvent.endTick() - (int)part->lenTick()) > 0) |