mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
update assimp lib
This commit is contained in:
parent
03a348deb7
commit
d3f8fee74e
1725 changed files with 196314 additions and 62009 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Open Asset Import Library (assimp)
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
Copyright (c) 2006-2022, assimp team
|
||||
Copyright (c) 2006-2024, assimp team
|
||||
|
||||
All rights reserved.
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ void AddNodes(unsigned int num, aiNode *father, unsigned int depth) {
|
|||
for (unsigned int i = 0; i < 5; ++i) {
|
||||
aiNode *nd = father->mChildren[i] = new aiNode();
|
||||
|
||||
nd->mName.length = sprintf(nd->mName.data, "%i%i", depth, i);
|
||||
nd->mName.length = snprintf(nd->mName.data, AI_MAXLEN, "%i%i", depth, i);
|
||||
|
||||
// spawn two meshes
|
||||
nd->mMeshes = new unsigned int[nd->mNumMeshes = 2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue