Skip to content

Commit

Permalink
Collect redshift attributes as part of a look as well
Browse files Browse the repository at this point in the history
  • Loading branch information
BigRoy committed Jul 8, 2024
1 parent 0893f47 commit 4379e50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/ayon_maya/plugins/publish/collect_look.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ def get_look_attrs(node):
if cmds.objectType(node, isAType="shape"):
attrs = cmds.listAttr(node, changedSinceFileOpen=True) or []
for attr in attrs:
if attr in SHAPE_ATTRS or attr.startswith('ai'):
if (
attr in SHAPE_ATTRS # maya shape render stats
or attr.startswith('ai') # arnold
or attr.startswith("rs") # redshift
):
result.append(attr)
return result

Expand Down

0 comments on commit 4379e50

Please sign in to comment.