carl's patch for #3471 applied to 3.X
git-svn-id: svn://localhost/ardour2/branches/3.0@7830 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
096f146d94
commit
d4aaa9c10c
@ -661,8 +661,8 @@ Editor::set_selected_regionview_from_click (bool press, Selection::Operation op,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
first_frame = entered_regionview->region()->position();
|
first_frame = clicked_regionview->region()->position();
|
||||||
last_frame = entered_regionview->region()->last_frame();
|
last_frame = clicked_regionview->region()->last_frame();
|
||||||
|
|
||||||
for (RegionSelection::iterator i = selection->regions.begin(); i != selection->regions.end(); ++i) {
|
for (RegionSelection::iterator i = selection->regions.begin(); i != selection->regions.end(); ++i) {
|
||||||
if ((*i)->region()->position() < first_frame) {
|
if ((*i)->region()->position() < first_frame) {
|
||||||
@ -696,9 +696,9 @@ Editor::set_selected_regionview_from_click (bool press, Selection::Operation op,
|
|||||||
any selected ones.
|
any selected ones.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!selection->selected (entered_regionview)) {
|
if (!selection->selected (clicked_regionview)) {
|
||||||
|
|
||||||
RouteTimeAxisView* rtv = dynamic_cast<RouteTimeAxisView*> (&entered_regionview->get_time_axis_view());
|
RouteTimeAxisView* rtv = dynamic_cast<RouteTimeAxisView*> (&clicked_regionview->get_time_axis_view());
|
||||||
|
|
||||||
if (rtv) {
|
if (rtv) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user