Revert previous select-strips-under-mouse behavior

However, keep the path for deletions in the editor-mixer via _entered_mixer_strip
TODO:  if nothing was deleted, assume the user was trying to delete something in the editor instead
Show selected plugins by a red border
TODO:  more work on the selection model for plugins and mixer strips
This commit is contained in:
Ben Loftis 2014-07-24 11:28:31 -05:00
parent 05f3adaba3
commit 61c66afd4c
9 changed files with 50 additions and 45 deletions

View file

@ -3734,8 +3734,8 @@ Editor::delete_ ()
{
//special case: if the user is pointing in the editor/mixer strip, they may be trying to delete a plugin.
//we need this because the editor-mixer strip is in the editor window, so it doesn't get the bindings from the mix window
//TODO: perhaps someday we need to accomodate the other bindings such as mute, solo, etc.
if ( current_mixer_strip && current_mixer_strip->is_selected() )
MixerStrip *entered = MixerStrip::entered_mixer_strip();
if ( current_mixer_strip && current_mixer_strip == entered )
current_mixer_strip->delete_processors ();
else
cut_copy (Delete);