mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
Fix prefix is None issue
This commit is contained in:
parent
379a5f5d78
commit
d37f65e81f
1 changed files with 2 additions and 1 deletions
|
|
@ -108,8 +108,9 @@ class ValidateRenderSettings(pyblish.api.InstancePlugin):
|
|||
|
||||
# Get the node attributes for current renderer
|
||||
attrs = lib.RENDER_ATTRS.get(renderer, lib.RENDER_ATTRS['default'])
|
||||
# Prefix attribute can return None when a value was never set
|
||||
prefix = lib.get_attr_in_layer(cls.ImagePrefixes[renderer],
|
||||
layer=layer)
|
||||
layer=layer) or ""
|
||||
padding = lib.get_attr_in_layer("{node}.{padding}".format(**attrs),
|
||||
layer=layer)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue