Dopesheet: Avoid deselect-all triggering on every box-select

This wouldn't only behave glitchy, but break certain copy-paste
workflows. See T70457 for details.

Addresses T70457
This commit is contained in:
Julian Eisel 2020-01-29 12:31:33 +01:00
parent a4842eb8db
commit 395dfff103
Notes: blender-bot 2023-02-14 10:21:15 +01:00
Referenced by commit 926f7612fd, Fix T86867: Node Editor: Avoid deselect-all triggering on every box-
Referenced by issue #70457, Dopesheet click-drag-selection deselects channels [e.g. breaking copy-pasting keys workflow]
1 changed files with 1 additions and 1 deletions

View File

@ -1718,7 +1718,7 @@ static int mouse_action_keys(bAnimContext *ac,
/* reset selection mode for next steps */
select_mode = SELECT_ADD;
if (wait_to_deselect_others && is_selected) {
if (wait_to_deselect_others) {
ret_value = OPERATOR_RUNNING_MODAL;
}
else {