Skip to content

Commit

Permalink
Merge pull request #61 from ynput/bugfix/fix-placeholder-name
Browse files Browse the repository at this point in the history
Set `force_valid_node_name` flag when creating placeholder nodes
  • Loading branch information
moonyuet authored Aug 2, 2024
2 parents 5699808 + 17c87e0 commit ef32c2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/ayon_houdini/api/workfile_template_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ def create_placeholder_node(self, node_name=None):
Feel free to override it in different workfile build plugins.
"""

node = hou.node("/out").createNode("null", node_name)
node = hou.node("/out").createNode(
"null", node_name, force_valid_node_name=True)
node.moveToGoodPosition()
parms = node.parmTemplateGroup()
for parm in {"execute", "renderdialog"}:
Expand Down

0 comments on commit ef32c2c

Please sign in to comment.