mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
Evoral::Sequence: tweak DEBUG_TRACE messages during note removal
This commit is contained in:
parent
db44a58a54
commit
637f22508b
1 changed files with 3 additions and 3 deletions
|
|
@ -749,7 +749,7 @@ Sequence<Time>::remove_note_unlocked(const constNotePtr note)
|
||||||
bool erased = false;
|
bool erased = false;
|
||||||
bool id_matched = false;
|
bool id_matched = false;
|
||||||
|
|
||||||
DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1 remove note #%2 %3 @ %4\n", this, note->id(), (int)note->note(), note->time()));
|
DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1 remove note #%2 %3 @ %4 of %5\n", this, note->id(), (int)note->note(), note->time(), _notes.size()));
|
||||||
|
|
||||||
/* first try searching for the note using the time index, which is
|
/* first try searching for the note using the time index, which is
|
||||||
* faster since the container is "indexed" by time. (technically, this
|
* faster since the container is "indexed" by time. (technically, this
|
||||||
|
|
@ -794,10 +794,10 @@ Sequence<Time>::remove_note_unlocked(const constNotePtr note)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1\ttime-based lookup did not find note #%2 %3 @ %4\n", this, note->id(), (int)note->note(), note->time()));
|
|
||||||
|
|
||||||
if (!erased) {
|
if (!erased) {
|
||||||
|
|
||||||
|
DEBUG_TRACE (DEBUG::Sequence, string_compose ("%1\ttime-based lookup did not find note #%2 %3 @ %4\n", this, note->id(), (int)note->note(), note->time()));
|
||||||
|
|
||||||
/* if the note's time property was changed in tandem with some
|
/* if the note's time property was changed in tandem with some
|
||||||
* other property as the next operation after it was added to
|
* other property as the next operation after it was added to
|
||||||
* the sequence, then at the point where we call this to undo
|
* the sequence, then at the point where we call this to undo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue