Brushstroke Tools: Initial Version #328
@ -768,6 +768,9 @@ class BSBST_OT_init_preset(bpy.types.Operator):
|
|||||||
self.init_draw(context)
|
self.init_draw(context)
|
||||||
|
|
||||||
# select preset material
|
# select preset material
|
||||||
|
mat = bpy.data.materials.get('Brushstrokes')
|
||||||
|
if not mat:
|
||||||
|
mat = utils.import_brushstroke_material()
|
||||||
settings.context_material = bpy.data.materials['Brushstrokes']
|
settings.context_material = bpy.data.materials['Brushstrokes']
|
||||||
preset_object['BSBST_material'] = settings.context_material
|
preset_object['BSBST_material'] = settings.context_material
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user