mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add subnet to allowed
This commit is contained in:
parent
66832f3c32
commit
e710f5f70e
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ class CreatePointCache(plugin.HoudiniCreator):
|
|||
# the parent type is not 'geo' like
|
||||
# Cameras, Dopnet nodes(sop solver)
|
||||
if isinstance(selected_node, hou.SopNode) and \
|
||||
selected_node.parent().type().name() == 'geo':
|
||||
selected_node.parent().type().name() in ['geo', 'subnet']:
|
||||
parms["sop_path"] = selected_node.path()
|
||||
self.log.debug(
|
||||
"Valid SopNode selection, 'SOP Path' in ROP will be set to '%s'."
|
||||
|
|
@ -55,7 +55,7 @@ class CreatePointCache(plugin.HoudiniCreator):
|
|||
# Allow object level paths to Geometry nodes (e.g. /obj/geo1)
|
||||
# but do not allow other object level nodes types like cameras, etc.
|
||||
elif isinstance(selected_node, hou.ObjNode) and \
|
||||
selected_node.type().name() == 'geo':
|
||||
selected_node.type().name() in ['geo']:
|
||||
|
||||
# get the output node with the minimum
|
||||
# 'outputidx' or the node with display flag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue