Merge branch 'hotfix/allow_not_set_template_names' into develop

This commit is contained in:
Milan Kolar 2020-07-08 09:16:16 +02:00
commit 9dda57ab63

View file

@ -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: