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 87c29cee08 - Show all commits

View File

@ -32,6 +32,8 @@ def find_context_brushstrokes(dummy):
bs.method = ob['BSBST_method'] bs.method = ob['BSBST_method']
if name_prev == ob.name: if name_prev == ob.name:
idx = len(settings.context_brushstrokes)-1 idx = len(settings.context_brushstrokes)-1
if not settings.context_brushstrokes:
return
if len_prev == len(settings.context_brushstrokes): if len_prev == len(settings.context_brushstrokes):
settings.active_context_brushstrokes_index = idx settings.active_context_brushstrokes_index = idx