Brushstroke Tools: Initial Version #328
@ -179,7 +179,7 @@ class BSBST_OT_init_preset(bpy.types.Operator):
|
||||
|
||||
# add modifiers
|
||||
## input
|
||||
mod = preset_object.modifiers.new('Input', 'NODES')
|
||||
mod = preset_object.modifiers.new('Surface Input', 'NODES')
|
||||
mod.node_group = bpy.data.node_groups['.brushstroke_tools.geometry_input']
|
||||
|
||||
mod_info = settings.preset_object.modifier_info.get(mod.name)
|
||||
|
@ -139,9 +139,9 @@ class BSBST_PT_brushstroke_tools_panel(bpy.types.Panel):
|
||||
style_header, style_panel = layout.panel("brushstrokes_style", default_closed=False)
|
||||
|
||||
if is_preset:
|
||||
style_header.label(text="Style (Preset)", icon='SETTINGS')
|
||||
style_header.label(text="Preset Settings", icon='SETTINGS')
|
||||
else:
|
||||
style_header.label(text="Style (Brushstrokes)", icon='BRUSH_DATA')
|
||||
style_header.label(text="Brushstroke Settings", icon='BRUSH_DATA')
|
||||
style_header.operator('brushstroke_tools.make_preset', text='', icon='DECORATE_OVERRIDE')
|
||||
style_header.row().prop(settings, 'style_context', icon_only=True, expand=True)
|
||||
|
||||
@ -176,6 +176,7 @@ class BSBST_PT_brushstroke_tools_panel(bpy.types.Panel):
|
||||
continue
|
||||
|
||||
# show settings for nodes modifiers
|
||||
if mod.show_group_selector:
|
||||
mod_panel.prop(mod, 'node_group')
|
||||
if not mod.node_group:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user