Malcolm Tyrrell 4 年之前
父节点
当前提交
885a196c74
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/AssetLib/FBX/FBXConverter.cpp

+ 1 - 1
code/AssetLib/FBX/FBXConverter.cpp

@@ -318,7 +318,7 @@ void FBXConverter::ConvertNodes(uint64_t id, aiNode *parent, aiNode *root_node)
         parent->mChildren = new aiNode *[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();
         }