From 4379e50ecfe9263a2536ac3d1166bb44ad6dd9c9 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Mon, 8 Jul 2024 20:13:48 +0200 Subject: [PATCH] Collect redshift attributes as part of a look as well --- client/ayon_maya/plugins/publish/collect_look.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/ayon_maya/plugins/publish/collect_look.py b/client/ayon_maya/plugins/publish/collect_look.py index 691933ba..5b80102f 100644 --- a/client/ayon_maya/plugins/publish/collect_look.py +++ b/client/ayon_maya/plugins/publish/collect_look.py @@ -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