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

View File

@ -75,6 +75,9 @@ def find_context_brushstrokes(dummy):
if bs_ob: if bs_ob:
for i, bs in enumerate(settings.context_brushstrokes): for i, bs in enumerate(settings.context_brushstrokes):
if bs.name == bs_ob.name: if bs.name == bs_ob.name:
if name_prev != bs.name:
settings.ui_options = False
settings.silent_switch = True settings.silent_switch = True
settings.active_context_brushstrokes_index = i settings.active_context_brushstrokes_index = i
settings.silent_switch = False settings.silent_switch = False