mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
fix the issue where ox_cache_nodes get nonetype
This commit is contained in:
parent
041991e3c7
commit
f3eda7821e
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ class CollectOxCache(plugin.MayaInstancePlugin):
|
|||
parent = cmds.listRelatives(ox_shape, parent=True)[0]
|
||||
transform_data = {"name": parent, "cbId": lib.get_id(parent)}
|
||||
ox_cache_nodes = [
|
||||
ox_node for ox_node in cmds.listConnections(
|
||||
ox_shape, destination=True, type="HairFromGuidesNode")
|
||||
ox_node for ox_node in cmds.listConnections(ox_shape, destination=True)
|
||||
if cmds.nodeType(ox_node) == "HairFromGuidesNode"
|
||||
]
|
||||
# transfer cache file
|
||||
shape_data = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue