Unsigned
parent
c00153089a
commit
885a196c74
|
@ -318,7 +318,7 @@ void FBXConverter::ConvertNodes(uint64_t id, aiNode *parent, aiNode *root_node)
|
||||||
parent->mChildren = new aiNode *[nodes.size()]();
|
parent->mChildren = new aiNode *[nodes.size()]();
|
||||||
parent->mNumChildren = static_cast<unsigned int>(nodes.size());
|
parent->mNumChildren = static_cast<unsigned int>(nodes.size());
|
||||||
|
|
||||||
for (int i = 0; i < nodes.size(); ++i)
|
for (unsigned int i = 0; i < nodes.size(); ++i)
|
||||||
{
|
{
|
||||||
parent->mChildren[i] = nodes[i].mOwnership.release();
|
parent->mChildren[i] = nodes[i].mOwnership.release();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue