diff --git a/otls/sgtk_arnold.otl b/otls/sgtk_arnold.otl index 49a1638..e9d6dce 100644 Binary files a/otls/sgtk_arnold.otl and b/otls/sgtk_arnold.otl differ diff --git a/python/tk_houdini_arnold/handler.py b/python/tk_houdini_arnold/handler.py index 807c38d..c8bda7c 100644 --- a/python/tk_houdini_arnold/handler.py +++ b/python/tk_houdini_arnold/handler.py @@ -124,6 +124,9 @@ def __getBeautyPath(self, node): # format sequence key to houdini formatting fields["SEQ"] = "FORMAT: $F" + # replace name with renderpass name + fields["name"] = self.__getRenderpassName(node) + # resolve camera cam = self.__getCameraNode(node) @@ -160,6 +163,9 @@ def __getAOVPath(self, aov, node): # format sequence key to houdini formatting fields["SEQ"] = "FORMAT: $F" + # replace name with renderpass name + fields["name"] = self.__getRenderpassName(node) + # resolve camera cam = self.__getCameraNode(node) @@ -242,3 +248,11 @@ def __updateAOVParm(self, node, parm): parm_path.lock(False) parm_path.set("Disabled") parm_path.lock(True) + + def __getRenderpassName(self, node): + # get the renderpass name from the supplied node + + parm = node.parm("renderpass") + name = parm.eval() + + return name \ No newline at end of file diff --git a/todo.md b/todo.md index a530979..5ebe753 100644 --- a/todo.md +++ b/todo.md @@ -7,3 +7,4 @@ - Add Deadline subprocess functions. - Add slate/preview functions. - ~~Move repo to /nfa-vfxim instead of /bkamphues.~~ +- Add publish plugin for automatically creating a review version.