13
0

Remove some debug messages.

git-svn-id: svn://localhost/ardour2/branches/3.0@10150 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-09-28 00:36:23 +00:00
parent 6583376d05
commit 3f8f1b3478

View File

@ -1547,16 +1547,12 @@ MidiRegionView::update_note (CanvasNote* ev, bool update_ghost_regions)
{
boost::shared_ptr<NoteType> note = ev->note();
cerr << "Note " << *note << " @ region frames " << source_beats_to_region_frames (note->time()) << endl;
const double x = trackview.editor().frame_to_pixel (source_beats_to_region_frames (note->time()));
const double y1 = midi_stream_view()->note_to_y(note->note());
ev->property_x1() = x;
ev->property_y1() = y1;
cerr << "\t" << x << " ... ";
/* trim note display to not overlap the end of its region */
if (note->length() > 0) {