mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge branch 'hotfix/allow_not_set_template_names' into develop
This commit is contained in:
commit
9dda57ab63
1 changed files with 1 additions and 2 deletions
|
|
@ -727,7 +727,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
|
|||
task_name = io.Session.get("AVALON_TASK")
|
||||
family = self.main_family_from_instance(instance)
|
||||
|
||||
matching_profiles = None
|
||||
matching_profiles = {}
|
||||
highest_value = -1
|
||||
self.log.info(self.template_name_profiles)
|
||||
for name, filters in self.template_name_profiles.items():
|
||||
|
|
@ -745,7 +745,6 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
|
|||
value += 1
|
||||
|
||||
if value > highest_value:
|
||||
matching_profiles = {}
|
||||
highest_value = value
|
||||
|
||||
if value == highest_value:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue