[Bf-blender-cvs] [3a7ab62eac0] master: Fix T88885: Circle select deselects first selections after moving cursor

Germano Cavalcante noreply at git.blender.org
Wed Jun 9 15:59:45 CEST 2021


Commit: 3a7ab62eac05e700372a2b17b901b0181be82abe
Author: Germano Cavalcante
Date:   Wed Jun 9 10:54:24 2021 -0300
Branches: master
https://developer.blender.org/rB3a7ab62eac05e700372a2b17b901b0181be82abe

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`.

===================================================================

M	source/blender/windowmanager/intern/wm_gesture_ops.c

===================================================================

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 */



More information about the Bf-blender-cvs mailing list