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

Fix from 8a5a306a83 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.
This commit is contained in:
Campbell Barton 2020-04-15 15:21:46 +10:00
parent 5e05db3419
commit 44b9f6a888
Notes: blender-bot 2023-02-14 05:41:57 +01:00
Referenced by issue #77455, Scale gizmos cause complete freezes in Blender 2.83 on Intel graphics
Referenced by issue #76277, Enabling Viewer Border in Compositor Crashes Blender
Referenced by issue #74881, Plane track corners can't be edited independently
1 changed files with 2 additions and 1 deletions

View File

@ -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)