mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
fixing bigroy's comment on camera subset interruption
This commit is contained in:
parent
1e19bfa694
commit
960e7a24bc
1 changed files with 5 additions and 1 deletions
|
|
@ -583,11 +583,15 @@ def _create_instances_for_aov(instance, skeleton, aov_filter, additional_data,
|
|||
else:
|
||||
# in case of single frame
|
||||
cam = [c for c in cameras if c in col]
|
||||
if cam or subset != "maxrenderMain":
|
||||
if cam:
|
||||
if aov:
|
||||
subset_name = '{}_{}_{}'.format(group_name, cam, aov)
|
||||
if subset == "maxrenderMain":
|
||||
subset_name = '{}_{}'.format(group_name, aov)
|
||||
else:
|
||||
subset_name = '{}_{}'.format(group_name, cam)
|
||||
if subset == "maxrenderMain":
|
||||
subset_name = '{}'.format(group_name)
|
||||
else:
|
||||
if aov:
|
||||
subset_name = '{}_{}'.format(group_name, aov)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue