hotfix/collect arnold attributes in may

This commit is contained in:
Milan Kolar 2019-03-19 15:46:55 +01:00
parent 9554b76ed4
commit 1bf91ce6b2

View file

@ -47,6 +47,8 @@ def get_look_attrs(node):
for attr in attrs:
if attr in SHAPE_ATTRS:
result.append(attr)
elif attr.startswith('ai'):
result.append(attr)
return result
@ -387,6 +389,8 @@ class CollectLook(pyblish.api.InstancePlugin):
# Collect changes to "custom" attributes
node_attrs = get_look_attrs(node)
self.log.info(node_attrs)
# Only include if there are any properties we care about
if not node_attrs:
continue