From 6b1707d51fc633db190300f46f5c72a3c1395590 Mon Sep 17 00:00:00 2001 From: Mustafa-Zarkash Date: Thu, 6 Jul 2023 17:37:21 +0300 Subject: [PATCH] make it less restrictive --- openpype/hosts/houdini/plugins/create/create_pointcache.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/openpype/hosts/houdini/plugins/create/create_pointcache.py b/openpype/hosts/houdini/plugins/create/create_pointcache.py index 4eadef86f7..554d5f2016 100644 --- a/openpype/hosts/houdini/plugins/create/create_pointcache.py +++ b/openpype/hosts/houdini/plugins/create/create_pointcache.py @@ -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'."