mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
♻️ selected nodes argument rename
This commit is contained in:
parent
01c60e6fa7
commit
fc5c07f1ca
2 changed files with 4 additions and 4 deletions
|
|
@ -29,8 +29,8 @@ class CreateAlembicCamera(plugin.HoudiniCreator):
|
|||
"use_sop_path": False,
|
||||
}
|
||||
|
||||
if self._nodes:
|
||||
path = self._nodes[0].path()
|
||||
if self.selected_nodes:
|
||||
path = self.selected_nodes.path()
|
||||
# Split the node path into the first root and the remainder
|
||||
# So we can set the root and objects parameters correctly
|
||||
_, root, remainder = path.split("/", 2)
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ class CreatePointCache(plugin.HoudiniCreator):
|
|||
"filename": "$HIP/pyblish/{}.abc".format(subset_name)
|
||||
}
|
||||
|
||||
if self._nodes:
|
||||
parms["sop_path"] = self._nodes[0].path()
|
||||
if self.selected_nodes:
|
||||
parms["sop_path"] = self.selected_nodes[0].path()
|
||||
|
||||
instance_node.setParms(parms)
|
||||
instance_node.parm("trange").set(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue