From 429179d9368b9ce01465be0bf5dba1475c08343c Mon Sep 17 00:00:00 2001 From: pullusb Date: Thu, 18 Jan 2024 19:32:05 +0100 Subject: [PATCH] apply get-draw_plane func changes --- OP_cursor_snap_canvas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OP_cursor_snap_canvas.py b/OP_cursor_snap_canvas.py index bfa910a..5c4a85c 100644 --- a/OP_cursor_snap_canvas.py +++ b/OP_cursor_snap_canvas.py @@ -48,7 +48,7 @@ class GPTB_OT_cusor_snap(bpy.types.Operator): if warning: self.report({'WARNING'}, ', '.join(warning)) - plane_co, plane_no = get_gp_draw_plane(context) + plane_co, plane_no = get_gp_draw_plane() if not plane_co:#default to object location plane_co = context.object.matrix_world.to_translation()#context.object.location