toggling smart mode is just an option.
authorBen Loftis <ben@harrisonconsoles.com>
Wed, 14 Jan 2015 12:30:16 +0000 (06:30 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Wed, 14 Jan 2015 12:30:16 +0000 (06:30 -0600)
it should not force mouse-mode to Object
it should not clear the current object selection

gtk2_ardour/editor_mouse.cc

index abb8cc56a8add7bfe8d64bf9dcf5cb625b9a483d..de71c4a77f21bb316a4f10250a0a383e75ff652e 100644 (file)
@@ -214,10 +214,6 @@ Editor::mouse_mode_object_range_toggled()
        Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic (act);
        assert (tact);
 
-       if (tact->get_active()) {
-               m = MouseObject;  //Smart mode turned to ON, force editing to Object mode
-       }
-
        set_mouse_mode(m, true);  //call this so the button styles can get updated
 }
 
@@ -341,7 +337,6 @@ Editor::update_time_selection_display ()
                selection->ClearMidiNoteSelection ();  /* EMIT SIGNAL */
                break;
        case MouseObject:
-               selection->clear_objects ();
                selection->clear_time ();
                selection->clear_tracks ();
                selection->ClearMidiNoteSelection ();  /* EMIT SIGNAL */