Asset Pipeline v2 #145
@ -15,10 +15,11 @@ def get_default_task_layer(td_type: str, name=""):
|
|||||||
|
|
||||||
|
|
||||||
def get_transfer_data_owner(td_type_key: str, use_default_owner: bool, name=""):
|
def get_transfer_data_owner(td_type_key: str, use_default_owner: bool, name=""):
|
||||||
if (
|
default_tl = get_default_task_layer(td_type_key, name)
|
||||||
use_default_owner
|
if use_default_owner:
|
||||||
or get_default_task_layer(td_type_key, name) in get_local_task_layers()
|
return default_tl
|
||||||
):
|
else:
|
||||||
return get_default_task_layer(td_type_key, name)
|
if default_tl in get_local_task_layers():
|
||||||
|
return default_tl
|
||||||
else:
|
else:
|
||||||
return get_local_task_layers()[0]
|
return get_local_task_layers()[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user