From 8434aa1b78ee5b0e749a12fcdd6a36d2a819fdb0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 14 Oct 2021 08:57:13 +1100 Subject: Fix invalid arguments to ED_gizmotypes_snap_3d_context_ensure --- source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/gizmo_library') diff --git a/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c index f673d3e85ef..0c1e6e91cef 100644 --- a/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c +++ b/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c @@ -379,7 +379,7 @@ short ED_gizmotypes_snap_3d_update(wmGizmo *gz, float dist_px = 12.0f * U.pixelsize; - ED_gizmotypes_snap_3d_context_ensure(scene, region, v3d, gz); + ED_gizmotypes_snap_3d_context_ensure(scene, gz); snap_elem = ED_transform_snap_object_project_view3d_ex( snap_gizmo->snap_context_v3d, depsgraph, -- cgit v1.2.3