mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #4059 from moonyuet/bugfix/OP2566-remove-underscore-from-subset-name
This commit is contained in:
commit
37eb905281
1 changed files with 8 additions and 2 deletions
|
|
@ -457,9 +457,15 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
|
||||||
|
|
||||||
cam = [c for c in cameras if c in col.head]
|
cam = [c for c in cameras if c in col.head]
|
||||||
if cam:
|
if cam:
|
||||||
subset_name = '{}_{}_{}'.format(group_name, cam, aov)
|
if aov:
|
||||||
|
subset_name = '{}_{}_{}'.format(group_name, cam, aov)
|
||||||
|
else:
|
||||||
|
subset_name = '{}_{}'.format(group_name, cam)
|
||||||
else:
|
else:
|
||||||
subset_name = '{}_{}'.format(group_name, aov)
|
if aov:
|
||||||
|
subset_name = '{}_{}'.format(group_name, aov)
|
||||||
|
else:
|
||||||
|
subset_name = '{}'.format(group_name)
|
||||||
|
|
||||||
if isinstance(col, (list, tuple)):
|
if isinstance(col, (list, tuple)):
|
||||||
staging = os.path.dirname(col[0])
|
staging = os.path.dirname(col[0])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue