fixed group name to include full subset name but '_AOV'

This commit is contained in:
Ondrej Samohel 2020-03-20 11:32:21 +01:00
parent fe8a71f97a
commit e8ac6ddbf9
No known key found for this signature in database
GPG key ID: 8A29C663C672C2B7

View file

@ -348,10 +348,11 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
assert len(cols) == 1, "only one image sequence type is expected"
# create subset name `familyTaskSubset_AOV`
subset_name = 'render{}{}{}{}_{}'.format(
group_name = 'render{}{}{}{}'.format(
task[0].upper(), task[1:],
subset[0].upper(), subset[1:],
aov)
subset[0].upper(), subset[1:])
subset_name = '{}_{}'.format(group_name, aov)
staging = os.path.dirname(list(cols[0])[0])
@ -366,7 +367,7 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
new_instance = copy(instance_data)
new_instance["subset"] = subset_name
new_instance["subsetGroup"] = subset
new_instance["subsetGroup"] = group_name
ext = cols[0].tail.lstrip(".")