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 99f24409e6 - Show all commits

View File

@ -768,6 +768,9 @@ class BSBST_OT_init_preset(bpy.types.Operator):
self.init_draw(context)
# select preset material
mat = bpy.data.materials.get('Brushstrokes')
if not mat:
mat = utils.import_brushstroke_material()
settings.context_material = bpy.data.materials['Brushstrokes']
preset_object['BSBST_material'] = settings.context_material