13
0

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:
Paul Davis 2010-09-22 12:37:48 +00:00
parent 096f146d94
commit d4aaa9c10c

View File

@ -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) {