When a track is in "stacked" mode, allow regions to be moved to different layers...
authorCarl Hetherington <carl@carlh.net>
Wed, 26 Aug 2009 00:06:21 +0000 (00:06 +0000)
committerCarl Hetherington <carl@carlh.net>
Wed, 26 Aug 2009 00:06:21 +0000 (00:06 +0000)
commit28af0265b5867a4ad9bd35e2d98eadd7f1264693
tree11d63ba1b446de353c4b28f6e822d0549b2f5499
parent33328b868dd29bfe80c8b4acc664358f8530bcd5
When a track is in "stacked" mode, allow regions to be moved to different layers by dragging
and dropping.  In stacked mode, the relayering by "recently added / moved etc. is higher" setting
is ignored, and regions are put on the layer that they are dropped to, unless:

1. they are dropped so that they overlap another region on the same layer, in which case they
are put on the layer above that one.
2. they are dropped such that they could be put on a lower layer with no audible difference, in
which case they are put on the lower layer.

git-svn-id: svn://localhost/ardour2/branches/3.0@5590 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_drag.h
gtk2_ardour/session_option_editor.cc
gtk2_ardour/streamview.cc
libs/ardour/ardour/playlist.h
libs/ardour/ardour/region.h
libs/ardour/playlist.cc
libs/ardour/region.cc