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=""):
|
||||
if (
|
||||
use_default_owner
|
||||
or get_default_task_layer(td_type_key, name) in get_local_task_layers()
|
||||
):
|
||||
return get_default_task_layer(td_type_key, name)
|
||||
default_tl = get_default_task_layer(td_type_key, name)
|
||||
if use_default_owner:
|
||||
return default_tl
|
||||
else:
|
||||
return get_local_task_layers()[0]
|
||||
if default_tl in get_local_task_layers():
|
||||
return default_tl
|
||||
else:
|
||||
return get_local_task_layers()[0]
|
||||
|
Loading…
Reference in New Issue
Block a user