Brushstroke Tools: Initial Version #328
@ -16,12 +16,6 @@ def preserve_draw_settings(context, restore=False):
|
||||
draw_settings_dict[item] = getattr(context.tool_settings.curve_paint_settings, item)
|
||||
context.scene['BSBST-TMP-draw_settings_dict'] = draw_settings_dict
|
||||
|
||||
def node_group_settings(ng_settings, op_settings):
|
||||
|
||||
ng_settings.nodes['Color'].value = [*op_settings.brush_color, 1.]
|
||||
ng_settings.nodes['Smear'].outputs[0].default_value = op_settings.brush_smear
|
||||
#ng_settings.nodes["Object Info"].inputs[0].default_value = surface_object
|
||||
|
||||
class BSBST_tool_settings(bpy.types.PropertyGroup):
|
||||
brush_color: bpy.props.FloatVectorProperty(name='Brush Color',
|
||||
size=3,
|
||||
@ -32,7 +26,7 @@ class BSBST_tool_settings(bpy.types.PropertyGroup):
|
||||
update=None,
|
||||
)
|
||||
radius_max: bpy.props.FloatProperty(name='Radius', default=1, min=0)
|
||||
surface_offset: bpy.props.FloatProperty(name='Offset', default=0)
|
||||
surface_offset: bpy.props.FloatProperty(name='Surface Offset', default=0)
|
||||
|
||||
class BSBST_OT_draw(bpy.types.Macro):
|
||||
"""
|
||||
@ -72,13 +66,6 @@ class BSBST_OT_post_process_brushstroke(bpy.types.Operator):
|
||||
bl_idname = "brushstroke_tools.post_process_brushstroke"
|
||||
bl_label = "Custom Draw Post Process"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
brush_smear: bpy.props.FloatProperty(name='Smear',
|
||||
subtype='FACTOR',
|
||||
default=0,
|
||||
min=0,
|
||||
max=1,
|
||||
update=None,
|
||||
)
|
||||
|
||||
ng_process = None
|
||||
gp = None
|
||||
|
Loading…
Reference in New Issue
Block a user