Brushstroke Tools: Initial Version #328
@ -233,6 +233,11 @@ def get_surface_object(bs):
|
|||||||
return None
|
return None
|
||||||
return bs['BSBST_surface_object']
|
return bs['BSBST_surface_object']
|
||||||
|
|
||||||
|
def set_surface_object(bs, ob):
|
||||||
|
if not bs:
|
||||||
|
return
|
||||||
|
bs['BSBST_surface_object'] = ob
|
||||||
|
|
||||||
def get_flow_object(bs):
|
def get_flow_object(bs):
|
||||||
if not bs:
|
if not bs:
|
||||||
return None
|
return None
|
||||||
@ -240,6 +245,11 @@ def get_flow_object(bs):
|
|||||||
return None
|
return None
|
||||||
return bs['BSBST_flow_object']
|
return bs['BSBST_flow_object']
|
||||||
|
|
||||||
|
def set_flow_object(bs, ob):
|
||||||
|
if not bs:
|
||||||
|
return
|
||||||
|
bs['BSBST_flow_object'] = ob
|
||||||
|
|
||||||
def context_brushstrokes(context):
|
def context_brushstrokes(context):
|
||||||
settings = context.scene.BSBST_settings
|
settings = context.scene.BSBST_settings
|
||||||
return settings.context_brushstrokes
|
return settings.context_brushstrokes
|
||||||
|
Loading…
Reference in New Issue
Block a user