diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2020-02-03 13:51:50 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2020-02-03 14:01:38 +0300 |
commit | a8ea1ea1b7d5817bf37387f6804bbaad1adb2cba (patch) | |
tree | a50efca682d6d5f97451e80cd1f779716f1f4026 | |
parent | 7bbbb9ba8a139b96fe9484e05d3db43fb5ad0a18 (diff) |
Fix: Broken tweak select-transform in Dopesheet
Clicking and dragging (aka tweaking) an unselected item should select
it, deselect others and translate. After rB395dfff103e1, it would not
deselect others anymore.
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index 09a0c297d35..095b30aa57b 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -1718,7 +1718,9 @@ static int mouse_action_keys(bAnimContext *ac, /* reset selection mode for next steps */ select_mode = SELECT_ADD; - if (wait_to_deselect_others) { + /* Rather than deselecting others, users may want to drag to box-select (drag from empty space) + * or tweak-translate an already selected item. If these cases may apply, delay deselection. */ + if (wait_to_deselect_others && (!found || is_selected)) { ret_value = OPERATOR_RUNNING_MODAL; } else { |