Cleanup of region drag code to be a bit more efficient and shorter. Fixes crashes...
authorCarl Hetherington <carl@carlh.net>
Mon, 6 Sep 2010 12:34:11 +0000 (12:34 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 6 Sep 2010 12:34:11 +0000 (12:34 +0000)
commitea2648503b520e3da54263ce0bafb388d22a9cd8
tree3c3142d6ae31e256945b4254c5cac494c332661d
parent1206b2973dc6c55bf81b4adfed928b95ac94bb9c
Cleanup of region drag code to be a bit more efficient and shorter.  Fixes crashes when dragging regions to the wrong track type.

git-svn-id: svn://localhost/ardour2/branches/3.0@7744 d708f5d6-7413-0410-9779-e7cbd77b26cf
14 files changed:
gtk2_ardour/canvas-hit.cc
gtk2_ardour/canvas-note.cc
gtk2_ardour/edit_note_dialog.cc
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_drag.h
gtk2_ardour/editor_ops.cc
gtk2_ardour/editor_selection.cc
gtk2_ardour/region_selection.cc
gtk2_ardour/selection.cc
gtk2_ardour/time_axis_view_item.cc
gtk2_ardour/time_axis_view_item.h
libs/ardour/ardour/audio_track.h
libs/ardour/ardour/midi_track.h
libs/ardour/ardour/track.h