mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
make it less restrictive
This commit is contained in:
parent
d58ef791f8
commit
6b1707d51f
1 changed files with 1 additions and 5 deletions
|
|
@ -40,11 +40,7 @@ class CreatePointCache(plugin.HoudiniCreator):
|
|||
# the ROP node we prefer it set to the SopNode path explicitly
|
||||
|
||||
# Allow sop level paths (e.g. /obj/geo1/box1)
|
||||
# but do not allow other sop level paths when
|
||||
# the parent type is not 'geo' like
|
||||
# Cameras, Dopnet nodes(sop solver)
|
||||
if isinstance(selected_node, hou.SopNode) and \
|
||||
selected_node.parent().type().name() in ["geo", "subnet"]:
|
||||
if isinstance(selected_node, hou.SopNode):
|
||||
parms["sop_path"] = selected_node.path()
|
||||
self.log.debug(
|
||||
"Valid SopNode selection, 'SOP Path' in ROP will be set to '%s'."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue