diff options
author | nick_m <mainsbridge@gmail.com> | 2017-06-08 23:11:56 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-06-08 23:11:56 +1000 |
commit | d455806a731681836b384704cbdae7f06a0fbd18 (patch) | |
tree | 8af66a6dda696cf0d91be13192781c1cd1208b69 /libs/evoral | |
parent | 3d5f21a3e5c519f38f789a66fbbb1cae5404bae5 (diff) |
Do not duplicate note id in copy constructor
This fixes selection undo after copy-dragging notes, but there
are probably other cases where duplicate note ids may cause problems.
Diffstat (limited to 'libs/evoral')
-rw-r--r-- | libs/evoral/src/Note.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/evoral/src/Note.cpp b/libs/evoral/src/Note.cpp index f2d369d825..631a995ab3 100644 --- a/libs/evoral/src/Note.cpp +++ b/libs/evoral/src/Note.cpp @@ -57,8 +57,6 @@ Note<Time>::Note(const Note<Time>& copy) : _on_event(copy._on_event, true) , _off_event(copy._off_event, true) { - set_id (copy.id()); - assert(_on_event.buffer()); assert(_off_event.buffer()); /* |