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:
authorCampbell Barton <ideasman42@gmail.com>2020-04-15 08:21:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-04-15 08:21:46 +0300
commit44b9f6a8885bed381e0b86bec378008490a58511 (patch)
treec0391ace6290b0312ebc674bf0c2b18d8f07d63f /source/blender/editors/space_clip
parent5e05db3419ef4598fea7e31f86ab37ffe41835f5 (diff)
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.
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/tracking_select.c3
1 files changed, 2 insertions, 1 deletions
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)