Brushstroke Tools: Initial Version #328
@ -145,7 +145,6 @@ class BSBST_OT_new_brushstrokes(bpy.types.Operator):
|
|||||||
|
|
||||||
# update brushstroke context
|
# update brushstroke context
|
||||||
context.view_layer.depsgraph.update()
|
context.view_layer.depsgraph.update()
|
||||||
print([bs.name for bs in settings.context_brushstrokes])
|
|
||||||
for i, name in enumerate([bs.name for bs in settings.context_brushstrokes]):
|
for i, name in enumerate([bs.name for bs in settings.context_brushstrokes]):
|
||||||
if name == brushstrokes_object.name:
|
if name == brushstrokes_object.name:
|
||||||
settings.active_context_brushstrokes_index = i
|
settings.active_context_brushstrokes_index = i
|
||||||
|
Loading…
Reference in New Issue
Block a user