Commit: 8434aa1b78ee5b0e749a12fcdd6a36d2a819fdb0
Author: Campbell Barton
Date:   Thu Oct 14 08:57:13 2021 +1100
Branches: master
https://developer.blender.org/rB8434aa1b78ee5b0e749a12fcdd6a36d2a819fdb0

Fix invalid arguments to ED_gizmotypes_snap_3d_context_ensure

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

M       source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c

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

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,

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to