diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-25 15:12:13 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-25 15:12:30 -0600 |
commit | 4151ec19074913376b3a6a19a0812f9fdebe7eca (patch) | |
tree | 81eef6d265981a1bb83117af14859303ed95a02c /gtk2_ardour/editor_drag.cc | |
parent | a0f2ae483393a0362053a39a86652485ee799312 (diff) |
remove accumulated debug output
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 955a016e70..b00097efe3 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -3998,20 +3998,14 @@ CursorDrag::start_grab (GdkEvent* event, Gdk::Cursor* c) { Drag::start_grab (event, c); - cerr << "start CD event type " << event->type << " @ " << event->button.x << " PH @ " << _editor->playhead_cursor->current_sample() << endl; - setup_snap_delta (MusicSample (_editor->playhead_cursor->current_sample(), 0)); _grab_zoom = _editor->samples_per_pixel; MusicSample where (_editor->canvas_event_sample (event) + snap_delta (event->button.state), 0); - cerr << "where is " << _editor->canvas_event_sample (event) << " + " << snap_delta (event->button.state) << " = " << where.sample << endl; - _editor->snap_to_with_modifier (where, event); - cerr << "after snap " << where.sample << endl; - _editor->_dragging_playhead = true; _editor->_control_scroll_target = where.sample; @@ -4047,8 +4041,6 @@ CursorDrag::start_grab (GdkEvent* event, Gdk::Cursor* c) } } - cerr << "fake locate to " << where.sample << endl; - fake_locate (where.sample - snap_delta (event->button.state)); _last_y_delta = 0; @@ -4059,11 +4051,6 @@ CursorDrag::motion (GdkEvent* event, bool) { MusicSample where (_editor->canvas_event_sample (event) + snap_delta (event->button.state), 0); -#ifndef NDEBUG - cerr << "cursor drag motion event type " << event->type << " x = " << event->motion.x << " spp " << _editor->get_current_zoom() - << " would be " << event->motion.x * _editor->get_current_zoom() << " @ " << _editor->canvas_event_sample (event) << " + " << snap_delta (event->button.state) << " = " << where.sample << endl; -#endif - _editor->snap_to_with_modifier (where, event); if (where.sample != last_pointer_sample()) { @@ -4107,8 +4094,6 @@ CursorDrag::motion (GdkEvent* event, bool) void CursorDrag::finished (GdkEvent* event, bool movement_occurred) { - PBD::stacktrace (std::cerr, 40); - _editor->_dragging_playhead = false; _cursor.track_canvas_item().ungrab(); @@ -4121,9 +4106,6 @@ CursorDrag::finished (GdkEvent* event, bool movement_occurred) Session* s = _editor->session (); if (s) { -#ifndef NDEBUG - cerr << "cursor drag finished, reqL with " << _editor->playhead_cursor->current_sample() << endl; -#endif s->request_locate (_editor->playhead_cursor->current_sample (), _was_rolling ? MustRoll : MustStop); _editor->_pending_locate_request = true; s->request_resume_timecode_transmission (); |