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 306af87925 - Show all commits

View File

@ -294,7 +294,10 @@ class BSBST_OT_delete_brushstrokes(bpy.types.Operator):
if surface_object:
context.view_layer.objects.active = surface_object
surface_object.select_set(True)
bs_ob = utils.get_active_context_brushstrokes_object(context)
if bs_ob:
context.view_layer.objects.active = bs_ob
bs_ob.select_set(True)
if not flow_object:
settings.edit_toggle = edit_toggle