From df686f6870f5430818ee9d74bde13c8292bf3c25 Mon Sep 17 00:00:00 2001 From: rebeccaLinx Date: Thu, 29 Dec 2022 18:32:26 +0800 Subject: [PATCH] Fix bug when create instance in Houdini --- avalon/houdini/pipeline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/avalon/houdini/pipeline.py b/avalon/houdini/pipeline.py index 69b2ba1d7..9a88dcbb3 100644 --- a/avalon/houdini/pipeline.py +++ b/avalon/houdini/pipeline.py @@ -284,9 +284,9 @@ def process(self): if (self.options or {}).get("useSelection"): self.nodes = hou.selectedNodes() - if len(self.nodes) == 1: - # only one node is selected - instance = self.nodes[0] + # if len(self.nodes) == 1: + # # only one node is selected + # instance = self.nodes[0] # Get the node type and remove it from the data, not needed node_type = self.data.pop("node_type", None)