Disable canvas verbose cursor for notes, which locks up on note adding sometimes.
The backtrace ain't pretty :/ git-svn-id: svn://localhost/ardour2/branches/3.0@5871 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
382a79eda5
commit
b61e7ad5de
@ -584,7 +584,8 @@ MidiRegionView::display_model(boost::shared_ptr<MidiModel> model)
|
||||
{
|
||||
_model = model;
|
||||
content_connection.disconnect ();
|
||||
content_connection = _model->ContentsChanged.connect(sigc::mem_fun(this, &MidiRegionView::redisplay_model));
|
||||
content_connection = _model->ContentsChanged.connect(
|
||||
sigc::mem_fun(this, &MidiRegionView::redisplay_model));
|
||||
clear_events ();
|
||||
|
||||
if (_enable_display) {
|
||||
@ -2264,11 +2265,12 @@ MidiRegionView::note_entered(ArdourCanvas::CanvasNoteEvent* ev)
|
||||
note_selected(ev, true);
|
||||
}
|
||||
|
||||
PublicEditor& editor (trackview.editor());
|
||||
char buf[4];
|
||||
snprintf (buf, sizeof (buf), "%d", (int) ev->note()->note());
|
||||
// This causes an infinite loop on note add sometimes
|
||||
//PublicEditor& editor (trackview.editor());
|
||||
//editor.show_verbose_canvas_cursor_with (Evoral::midi_note_name (ev->note()->note()));
|
||||
editor.show_verbose_canvas_cursor_with (buf);
|
||||
//editor.show_verbose_canvas_cursor_with (buf);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user