apply get-draw_plane func changes
parent
053a9d7f7b
commit
429179d936
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue