From 29f68f366b233cdeca919622070b36bea1e67018 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Sat, 29 Jan 2022 08:32:11 +0100 Subject: [PATCH] Fix update path and refactor invalid variable name --- openpype/hosts/houdini/plugins/load/load_ass.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpype/hosts/houdini/plugins/load/load_ass.py b/openpype/hosts/houdini/plugins/load/load_ass.py index 47fd9262d7..71c3535ca0 100644 --- a/openpype/hosts/houdini/plugins/load/load_ass.py +++ b/openpype/hosts/houdini/plugins/load/load_ass.py @@ -78,10 +78,10 @@ class AssLoader(api.Loader): file_path = file_path.replace("\\", "/") procedural = container["node"] - procedural.setParms({"ar_filename": file_path}) + procedural.setParms({"ar_filename": self.get_path(file_path)}) # Update attribute - node.setParms({"representation": str(representation["_id"])}) + procedural.setParms({"representation": str(representation["_id"])}) def remove(self, container):