diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2005-12-22 19:37:03 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2005-12-22 19:37:03 +0000 |
commit | d3917786501d9142f8c1454c62b3eac7c0bd9f88 (patch) | |
tree | 898bf3806fe379014b3abda34738e3d11bfa309b /gtk2_ardour/editor_imageframe.cc | |
parent | 24e9a9396821b15e0d2efe848573912992639a3a (diff) |
very important fix to avoid double delete of waveview caches, since regionviews own the cache, not the waveview
git-svn-id: svn://localhost/trunk/ardour2@203 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_imageframe.cc')
-rw-r--r-- | gtk2_ardour/editor_imageframe.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gtk2_ardour/editor_imageframe.cc b/gtk2_ardour/editor_imageframe.cc index e9021a7a1c..e922a1e353 100644 --- a/gtk2_ardour/editor_imageframe.cc +++ b/gtk2_ardour/editor_imageframe.cc @@ -633,8 +633,6 @@ Editor::imageframe_start_handle_op(ArdourCanvas::Item* item, GdkEvent* event) drag_info.motion_callback = &Editor::imageframe_start_handle_trim_motion ; drag_info.finished_callback = &Editor::imageframe_start_handle_end_trim ; - flush_track_canvas() ; - start_grab(event) ; show_verbose_time_cursor(ifv->get_position(), 10) ; @@ -665,8 +663,6 @@ Editor::imageframe_end_handle_op(ArdourCanvas::Item* item, GdkEvent* event) drag_info.motion_callback = &Editor::imageframe_end_handle_trim_motion ; drag_info.finished_callback = &Editor::imageframe_end_handle_end_trim ; - flush_track_canvas() ; - start_grab(event, trimmer_cursor) ; show_verbose_time_cursor(ifv->get_position() + ifv->get_duration(), 10) ; @@ -760,8 +756,6 @@ Editor::imageframe_start_handle_end_trim(ArdourCanvas::Item* item, GdkEvent* eve ifv->set_position((jack_nframes_t) (temp - drag_info.cumulative_x_drag), this) ; ifv->set_duration((jack_nframes_t) drag_info.cumulative_x_drag, this) ; } - - flush_track_canvas() ; } void @@ -840,8 +834,6 @@ Editor::imageframe_end_handle_end_trim (ArdourCanvas::Item* item, GdkEvent* even ifv->set_duration(new_duration, this) ; } } - - flush_track_canvas (); } @@ -865,8 +857,6 @@ Editor::markerview_item_start_handle_op(ArdourCanvas::Item* item, GdkEvent* even drag_info.motion_callback = &Editor::markerview_start_handle_trim_motion ; drag_info.finished_callback = &Editor::markerview_start_handle_end_trim ; - flush_track_canvas() ; - start_grab(event, trimmer_cursor) ; } @@ -889,8 +879,6 @@ Editor::markerview_item_end_handle_op(ArdourCanvas::Item* item, GdkEvent* event) drag_info.motion_callback = &Editor::markerview_end_handle_trim_motion ; drag_info.finished_callback = &Editor::markerview_end_handle_end_trim ; - flush_track_canvas () ; - start_grab(event, trimmer_cursor) ; } @@ -985,8 +973,6 @@ Editor::markerview_start_handle_end_trim(ArdourCanvas::Item* item, GdkEvent* eve mv->set_position((jack_nframes_t) (temp - drag_info.cumulative_x_drag), this) ; mv->set_duration((jack_nframes_t) drag_info.cumulative_x_drag, this) ; } - - flush_track_canvas() ; } void @@ -1079,8 +1065,6 @@ Editor::markerview_end_handle_end_trim (ArdourCanvas::Item* item, GdkEvent* even jack_nframes_t new_duration = (jack_nframes_t)drag_info.cumulative_x_drag ; mv->set_duration(new_duration, this) ; } - - flush_track_canvas() ; } |