Add curve mode setting for different types of data #3

Merged
Simon Thommes merged 6 commits from add-curve-modes into master 2024-03-15 17:26:52 +01:00
Showing only changes of commit cd5850363d - Show all commits

2
ops.py
View File

@ -110,7 +110,7 @@ class SCRIB_OT_new_scribble(bpy.types.Operator):
context.scene.tool_settings.gpencil_stroke_placement_view3d = 'SURFACE' context.scene.tool_settings.gpencil_stroke_placement_view3d = 'SURFACE'
else: else:
bpy.ops.object.mode_set(mode='EDIT') 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"} return {"FINISHED"}