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
Showing only changes of commit 18d16a94f6 - Show all commits

View File

@ -30,7 +30,7 @@ class BSBST_tool_settings(bpy.types.PropertyGroup):
brush_color: bpy.props.FloatVectorProperty(name='Brush Color',
size=3,
subtype='COLOR',
default=(.0,.0,.0),
default=(0.,.5,1.),
soft_min=0,
soft_max=1,
update=None,
@ -164,6 +164,10 @@ class BrushstrokesCurves(WorkSpaceTool):
layout.use_property_split = True
layout.use_property_decorate = False
col = layout.column(align=False)
col.template_color_picker(tool_settings, 'brush_color', value_slider=True)
col.prop(tool_settings, 'brush_color', text='')
col = layout.column(align=True)
col.prop(tool_settings, "radius_taper_start", text="Taper Start", slider=True)
col.prop(tool_settings, "radius_taper_end", text="End", slider=True)