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 ea23b18985 - Show all commits

View File

@ -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