Skip to content

Commit

Permalink
Merge pull request #60 from MoonShineVFX/ple-1656
Browse files Browse the repository at this point in the history
Fix bug when create instance in Houdini
  • Loading branch information
rebeccaLinx authored Dec 29, 2022
2 parents 172fa7e + df686f6 commit 18341f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions avalon/houdini/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 18341f6

Please sign in to comment.