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 24030af1ef - Show all commits

View File

@ -538,6 +538,8 @@ def get_active_context_brushstrokes_object(context):
return bs_ob
def get_active_context_surface_object(context):
if not context.object:
return None
bs_ob = get_active_context_brushstrokes_object(context)
if bs_ob:
return get_surface_object(bs_ob)