Merge branch 'hotfix/allow_not_set_template_names' into 2.x/develop

This commit is contained in:
Milan Kolar 2020-07-08 09:16:31 +02:00
commit 1e952b8007

View file

@ -728,7 +728,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():
@ -746,7 +746,6 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
value += 1
if value > highest_value:
matching_profiles = {}
highest_value = value
if value == highest_value: