Brushstroke Tools: Initial Version #328
@ -538,6 +538,8 @@ def get_active_context_brushstrokes_object(context):
|
|||||||
return bs_ob
|
return bs_ob
|
||||||
|
|
||||||
def get_active_context_surface_object(context):
|
def get_active_context_surface_object(context):
|
||||||
|
if not context.object:
|
||||||
|
return None
|
||||||
bs_ob = get_active_context_brushstrokes_object(context)
|
bs_ob = get_active_context_brushstrokes_object(context)
|
||||||
if bs_ob:
|
if bs_ob:
|
||||||
return get_surface_object(bs_ob)
|
return get_surface_object(bs_ob)
|
||||||
|
Loading…
Reference in New Issue
Block a user