Add curve mode setting for different types of data #3
@ -48,8 +48,8 @@ class SCRIB_OT_draw(bpy.types.Operator):
|
|||||||
def invoke(self, context, event):
|
def invoke(self, context, event):
|
||||||
utils.ensure_resources()
|
utils.ensure_resources()
|
||||||
if True:
|
if True:
|
||||||
SCRIB_OT_draw_curves.gp = None
|
SCRIB_OT_draw.gp = None
|
||||||
SCRIB_OT_draw_curves.ng_process = bpy.data.node_groups['.scribble-buddy.processing']
|
SCRIB_OT_draw.ng_process = bpy.data.node_groups['.scribble-buddy.processing']
|
||||||
|
|
||||||
context.tool_settings.curve_paint_settings.curve_type = 'POLY' # TODO: restore later
|
context.tool_settings.curve_paint_settings.curve_type = 'POLY' # TODO: restore later
|
||||||
context.tool_settings.curve_paint_settings.depth_mode = 'SURFACE' # TODO: restore later
|
context.tool_settings.curve_paint_settings.depth_mode = 'SURFACE' # TODO: restore later
|
||||||
|
Loading…
Reference in New Issue
Block a user