Brushstroke Tools: Initial Version #328

Merged
Simon Thommes merged 229 commits from SimonThommes/blender-studio-tools:brushstroke_tools-initial-version into main 2024-11-06 15:03:47 +01:00
2 changed files with 5 additions and 4 deletions
Showing only changes of commit f86097ac1b - Show all commits

View File

@ -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)

View File

@ -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