Brushstroke Tools: Initial Version #328
@ -7,7 +7,10 @@ def update_active_brushstrokes(self, context):
|
||||
ob = bpy.data.objects.get(el.name)
|
||||
if not ob:
|
||||
continue
|
||||
ob['BSBST_active'] = i == settings.active_context_brushstrokes_index
|
||||
is_active = i == settings.active_context_brushstrokes_index
|
||||
ob['BSBST_active'] = is_active
|
||||
if 'BSBST_material' in ob.keys() and is_active:
|
||||
settings.context_material = ob['BSBST_material']
|
||||
|
||||
def update_brushstroke_method(self, context):
|
||||
settings = context.scene.BSBST_settings
|
||||
|
Loading…
Reference in New Issue
Block a user