Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2020-02-03 13:51:50 +0300
committerJulian Eisel <eiseljulian@gmail.com>2020-02-03 14:01:38 +0300
commita8ea1ea1b7d5817bf37387f6804bbaad1adb2cba (patch)
treea50efca682d6d5f97451e80cd1f779716f1f4026 /source/blender/editors/space_action
parent7bbbb9ba8a139b96fe9484e05d3db43fb5ad0a18 (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.
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r--source/blender/editors/space_action/action_select.c4
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 {