diff options
-rw-r--r-- | source/blender/editors/gizmo_library/gizmo_types/move3d_gizmo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_types/move3d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/move3d_gizmo.c index 729548e6e00..90f620bd9c4 100644 --- a/source/blender/editors/gizmo_library/gizmo_types/move3d_gizmo.c +++ b/source/blender/editors/gizmo_library/gizmo_types/move3d_gizmo.c @@ -231,6 +231,9 @@ static int gizmo_move_modal( bContext *C, wmGizmo *gz, const wmEvent *event, eWM_GizmoFlagTweak UNUSED(tweak_flag)) { + if (event->type != MOUSEMOVE) { + return OPERATOR_RUNNING_MODAL; + } MoveGizmo3D *move = (MoveGizmo3D *)gz; MoveInteraction *inter = gz->interaction_data; ARegion *ar = CTX_wm_region(C); |