mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 14:22:37 +01:00
delete the task_name verification since it does not exists in the maya menu settings
This commit is contained in:
parent
60cc108251
commit
aaa1f13f9d
1 changed files with 1 additions and 3 deletions
|
|
@ -157,8 +157,6 @@ class AbstractTemplateLoader:
|
|||
for prf in profiles:
|
||||
if prf['task_types'] and task_type not in prf['task_types']:
|
||||
continue
|
||||
if prf['task_names'] and task_name not in prf['task_names']:
|
||||
continue
|
||||
path = prf['path']
|
||||
break
|
||||
else: # IF no template were found (no break happened)
|
||||
|
|
@ -253,7 +251,7 @@ class AbstractTemplateLoader:
|
|||
linked_assets)
|
||||
# get representation by assets
|
||||
for db_filter in placeholder_db_filters:
|
||||
placeholder_representations = list(avalon.io.find(db_filter))
|
||||
placeholder_representations = list(legacy_io.find(db_filter))
|
||||
for representation in reduce(update_representations,
|
||||
placeholder_representations,
|
||||
dict()).values():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue