[Bf-blender-cvs] [44b9f6a8885] master: Fix T74881: Plane-track corner drag fails with LMB select

Campbell Barton noreply at git.blender.org
Wed Apr 15 07:25:06 CEST 2020


Commit: 44b9f6a8885bed381e0b86bec378008490a58511
Author: Campbell Barton
Date:   Wed Apr 15 15:21:46 2020 +1000
Branches: master
https://developer.blender.org/rB44b9f6a8885bed381e0b86bec378008490a58511

Fix T74881: Plane-track corner drag fails with LMB select

Fix from 8a5a306a8313 caused tweaking to fail in the clip editor,
as it wasn't using same convention of other selection operators that
returned the pass-through flag to allow tweaking too.

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

M	source/blender/editors/space_clip/tracking_select.c

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

diff --git a/source/blender/editors/space_clip/tracking_select.c b/source/blender/editors/space_clip/tracking_select.c
index 67c453825f7..c2a4ebdfc63 100644
--- a/source/blender/editors/space_clip/tracking_select.c
+++ b/source/blender/editors/space_clip/tracking_select.c
@@ -387,7 +387,8 @@ static int mouse_select(bContext *C, const float co[2], const bool extend, const
   WM_event_add_notifier(C, NC_GEOM | ND_SELECT, NULL);
   DEG_id_tag_update(&clip->id, ID_RECALC_SELECT);
 
-  return OPERATOR_FINISHED;
+  /* Pass-through + finished to allow tweak to transform. */
+  return OPERATOR_FINISHED | OPERATOR_PASS_THROUGH;
 }
 
 static bool select_poll(bContext *C)



More information about the Bf-blender-cvs mailing list