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 1 additions and 3 deletions
Showing only changes of commit 2e6b1997d2 - Show all commits

View File

@ -230,7 +230,7 @@ class BSBST_Settings(bpy.types.PropertyGroup):
items= [('SURFACE_FILL', 'Fill', 'Use surface fill method for new brushstroke object', 'OUTLINER_OB_FORCE_FIELD', 0),\ items= [('SURFACE_FILL', 'Fill', 'Use surface fill method for new brushstroke object', 'OUTLINER_OB_FORCE_FIELD', 0),\
('SURFACE_DRAW', 'Draw', 'Use surface draw method for new brushstroke object', 'LINE_DATA', 1), ('SURFACE_DRAW', 'Draw', 'Use surface draw method for new brushstroke object', 'LINE_DATA', 1),
]) ])
style_context: bpy.props.EnumProperty(default='AUTO', style_context: bpy.props.EnumProperty(default='BRUSHSTROKES',
name='Context', name='Context',
items= [ items= [
('PRESET', 'Default', 'Specify the style of the current default used for new brushstrokes', 'SETTINGS', 0),\ ('PRESET', 'Default', 'Specify the style of the current default used for new brushstrokes', 'SETTINGS', 0),\

View File

@ -237,8 +237,6 @@ class BSBST_PT_brushstroke_tools_panel(bpy.types.Panel):
surface_row.alert = True surface_row.alert = True
surface_row.label(text='No Valid Surface Object', icon='OUTLINER_OB_SURFACE') surface_row.label(text='No Valid Surface Object', icon='OUTLINER_OB_SURFACE')
#layout.prop(settings, 'brushstroke_method', expand=True)
row = layout.row(align=True) row = layout.row(align=True)
op = row.operator("brushstroke_tools.new_brushstrokes", text='Fill', icon='OUTLINER_OB_FORCE_FIELD') op = row.operator("brushstroke_tools.new_brushstrokes", text='Fill', icon='OUTLINER_OB_FORCE_FIELD')
op.method = 'SURFACE_FILL' op.method = 'SURFACE_FILL'