mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
Update openpype/hosts/maya/plugins/publish/validate_render_single_camera.py
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
This commit is contained in:
parent
3780b37b99
commit
2a78532ead
1 changed files with 3 additions and 1 deletions
|
|
@ -39,7 +39,9 @@ class ValidateRenderSingleCamera(pyblish.api.InstancePlugin):
|
|||
if renderer.startswith('renderman'):
|
||||
renderer = 'renderman'
|
||||
|
||||
attr = RenderSettings.get_image_prefix_attr(renderer)
|
||||
file_prefix = cmds.getAttr(
|
||||
RenderSettings.get_image_prefix_attr(renderer)
|
||||
)
|
||||
file_prefix = cmds.getAttr(attr)
|
||||
|
||||
if len(cameras) > 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue