remove crufty variable
authorBen Loftis <ben@harrisonconsoles.com>
Wed, 25 Mar 2015 22:20:56 +0000 (17:20 -0500)
committerBen Loftis <ben@harrisonconsoles.com>
Wed, 25 Mar 2015 22:21:13 +0000 (17:21 -0500)
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_drag.h

index f2bb65b69569a21db3316293dabc7fae5c275b80..d47109303bbfb4154b90309c257fce32d577af2d 100644 (file)
@@ -4499,7 +4499,6 @@ SelectionDrag::SelectionDrag (Editor* e, ArdourCanvas::Item* i, Operation o)
        : Drag (e, i)
        , _operation (o)
        , _add (false)
-       , _original_pointer_time_axis (-1)
        , _time_selection_at_start (!_editor->get_selection().time.empty())
 {
        DEBUG_TRACE (DEBUG::Drags, "New SelectionDrag\n");
@@ -4558,8 +4557,6 @@ SelectionDrag::start_grab (GdkEvent* event, Gdk::Cursor*)
        } else {
                show_verbose_cursor_time (adjusted_current_frame (event));
        }
-
-       _original_pointer_time_axis = _editor->trackview_by_y_position (current_pointer_y ()).first->order ();
 }
 
 void
index 08812e66391fcc3c860b209df82a42ef70354425..ccfd58c7143a30593b574f182c85d9ea61c4f564 100644 (file)
@@ -983,7 +983,6 @@ public:
 private:
        Operation _operation;
        bool _add;
-       int _original_pointer_time_axis;
        std::list<TimeAxisView*> _added_time_axes;
        bool _time_selection_at_start;
         framepos_t start_at_start;