[Bf-blender-cvs] [71baa5f3326] tracking_tools: Revert "Tracking: Improve selection during Add Marker and tweak tool"

Sergey Sharybin noreply at git.blender.org
Mon May 16 16:32:31 CEST 2022


Commit: 71baa5f33267a11a00565932b6d9a2203afd6b5b
Author: Sergey Sharybin
Date:   Mon May 16 16:29:34 2022 +0200
Branches: tracking_tools
https://developer.blender.org/rB71baa5f33267a11a00565932b6d9a2203afd6b5b

Revert "Tracking: Improve selection during Add Marker and tweak tool"

This made it impossible to add markers. Need to have a second though.

This reverts commit 3c54a613947ee4dc2b1a9280fbebd27a76c7224a.

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

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 0e3acbe0c95..b6d458a7780 100644
--- a/source/blender/editors/space_clip/tracking_select.c
+++ b/source/blender/editors/space_clip/tracking_select.c
@@ -407,13 +407,6 @@ static int select_exec(bContext *C, wmOperator *op)
   WM_event_add_notifier(C, NC_GEOM | ND_SELECT, NULL);
   DEG_id_tag_update(&clip->id, ID_RECALC_SELECT);
 
-  /* This is a bit implicit, but when the selection operator is used from a LMB Add Marker and
-   * tweak tool we do not want the pass-through here and only want selection to happen. This way
-   * the selection operator will not fall-through to Add Marker operator. */
-  if (activate_selected) {
-    return OPERATOR_FINISHED;
-  }
-
   /* Pass-through + finished to allow tweak to transform. */
   return OPERATOR_FINISHED | OPERATOR_PASS_THROUGH;
 }



More information about the Bf-blender-cvs mailing list