Brushstroke Tools: Initial Version #328
@ -152,7 +152,7 @@ class BSBST_context_brushstrokes(bpy.types.PropertyGroup):
|
||||
|
||||
class BSBST_Settings(bpy.types.PropertyGroup):
|
||||
attach_to_active_selection: bpy.props.BoolProperty(default=True)
|
||||
preset_object: bpy.props.PointerProperty(type=bpy.types.Object, name="Preset Object")
|
||||
preset_object: bpy.props.PointerProperty(type=bpy.types.Object, name="Default/Preset Object")
|
||||
preset_material: bpy.props.PointerProperty(type=bpy.types.Material, name="Preset Material")
|
||||
assign_materials: bpy.props.BoolProperty(name='Assign Modifier Materials', default=True)
|
||||
brushstroke_method: bpy.props.EnumProperty(default='SURFACE_FILL', update=update_brushstroke_method,
|
||||
@ -162,7 +162,7 @@ class BSBST_Settings(bpy.types.PropertyGroup):
|
||||
style_context: bpy.props.EnumProperty(default='AUTO',
|
||||
name='Context',
|
||||
items= [
|
||||
('PRESET', 'Preset', 'Specify the style of the current preset used for new brushstrokes', 'SETTINGS', 0),\
|
||||
('PRESET', 'Default', 'Specify the style of the current default used for new brushstrokes', 'SETTINGS', 0),\
|
||||
('BRUSHSTROKES', 'Brushstrokes', 'Specify the style of the currently active brushstrokes', 'BRUSH_DATA', 1),
|
||||
('AUTO', 'Auto', 'Specify the style of either the active brushstrokes or the preset depending on the context', 'AUTO', 2),
|
||||
])
|
||||
|
@ -195,7 +195,7 @@ 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="Preset Settings", icon='SETTINGS')
|
||||
style_header.label(text="Default Settings", icon='SETTINGS')
|
||||
else:
|
||||
style_header.label(text="Brushstroke Settings", icon='BRUSH_DATA')
|
||||
style_header.operator('brushstroke_tools.make_preset', text='', icon='DECORATE_OVERRIDE')
|
||||
|
Loading…
Reference in New Issue
Block a user