mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Update openpype/hosts/houdini/plugins/create/create_review.py
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
This commit is contained in:
parent
7ae683413d
commit
7778644613
1 changed files with 7 additions and 3 deletions
|
|
@ -57,9 +57,13 @@ class CreateReview(plugin.HoudiniCreator):
|
|||
})
|
||||
|
||||
if self.selected_nodes:
|
||||
# todo: allow only object paths?
|
||||
node_paths = " ".join(node.path() for node in self.selected_nodes)
|
||||
parms.update({"scenepath": node_paths})
|
||||
for node in self.selected_nodes:
|
||||
path = node.path()
|
||||
if node.type().name() == "cam":
|
||||
parms.update({"camera": path})
|
||||
else:
|
||||
node_paths = " ".join(path)
|
||||
parms.update({"forceobjects": node_paths})
|
||||
|
||||
instance_node.setParms(parms)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue