mirror of
https://github.com/bloeys/assimp-go.git
synced 2025-12-29 08:28:20 +00:00
Fix bug in parseNodes
This commit is contained in:
@ -215,7 +215,7 @@ func parseNodes(cNodesIn **C.struct_aiNode, parent *Node, parentChildrenCount ui
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Parse node's children
|
//Parse node's children
|
||||||
nodes[i].Children = parseNodes(n.mChildren, nodes[i], parentChildrenCount)
|
nodes[i].Children = parseNodes(n.mChildren, nodes[i], uint(n.mNumChildren))
|
||||||
}
|
}
|
||||||
|
|
||||||
return nodes
|
return nodes
|
||||||
|
|||||||
Reference in New Issue
Block a user