Add curve mode setting for different types of data #3
2
ops.py
2
ops.py
@ -110,7 +110,7 @@ class SCRIB_OT_new_scribble(bpy.types.Operator):
|
||||
context.scene.tool_settings.gpencil_stroke_placement_view3d = 'SURFACE'
|
||||
else:
|
||||
bpy.ops.object.mode_set(mode='EDIT')
|
||||
bpy.ops.wm.tool_set_by_id(name="scribble_buddy.draw_curves")
|
||||
bpy.ops.wm.tool_set_by_id(name="scribble_buddy.draw")
|
||||
|
||||
return {"FINISHED"}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user