Brushstroke Tools: Initial Version #328
@ -65,6 +65,8 @@ class BSBST_OT_draw(bpy.types.Operator):
|
|||||||
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
|
||||||
context.tool_settings.curve_paint_settings.use_pressure_radius = True # TODO: restore later
|
context.tool_settings.curve_paint_settings.use_pressure_radius = True # TODO: restore later
|
||||||
|
context.tool_settings.curve_paint_settings.use_project_only_selected = True # TODO: restore later
|
||||||
|
context.tool_settings.curve_paint_settings.is_curve_2d = False # TODO: restore later
|
||||||
|
|
||||||
context.window_manager.modal_handler_add(self)
|
context.window_manager.modal_handler_add(self)
|
||||||
return {'RUNNING_MODAL'}
|
return {'RUNNING_MODAL'}
|
||||||
@ -92,6 +94,7 @@ class BrushstrokesCurves(WorkSpaceTool):
|
|||||||
def draw_settings(context, layout, tool):
|
def draw_settings(context, layout, tool):
|
||||||
props = tool.operator_properties("brushstroke_tools.draw")
|
props = tool.operator_properties("brushstroke_tools.draw")
|
||||||
layout.prop(context.tool_settings.curve_paint_settings , "radius_max")
|
layout.prop(context.tool_settings.curve_paint_settings , "radius_max")
|
||||||
|
layout.prop(context.tool_settings.curve_paint_settings , "surface_offset")
|
||||||
layout.prop(props, "brush_color")
|
layout.prop(props, "brush_color")
|
||||||
|
|
||||||
classes = [
|
classes = [
|
||||||
|
Loading…
Reference in New Issue
Block a user