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:
authorGermano Cavalcante <germano.costa@ig.com.br>2021-06-09 16:54:24 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-06-09 16:59:33 +0300
commit3a7ab62eac05e700372a2b17b901b0181be82abe (patch)
treea19be899178ddc39a310b7b9fd72a935b137146b
parent1f55e122062a6550effd61a35445cf5b4e9e84ea (diff)
Fix T88885: Circle select deselects first selections after moving cursor
`is_active_prev` is always set after the first operation. But this was not the case with `wait_for_input` `false`.
-rw-r--r--source/blender/windowmanager/intern/wm_gesture_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_gesture_ops.c b/source/blender/windowmanager/intern/wm_gesture_ops.c
index 07d68293714..94535427dac 100644
--- a/source/blender/windowmanager/intern/wm_gesture_ops.c
+++ b/source/blender/windowmanager/intern/wm_gesture_ops.c
@@ -316,6 +316,7 @@ int WM_gesture_circle_invoke(bContext *C, wmOperator *op, const wmEvent *event)
if (gesture->wait_for_input == false) {
gesture->is_active = true;
gesture_circle_apply(C, op);
+ gesture->is_active_prev = true;
}
/* add modal handler */