ASE: Explicitly pass "UNNAMED" as default bone name

pull/1745/head
Turo Lamminen 2018-01-27 17:42:36 +02:00
parent 3f377e11f5
commit e75f7a5964
1 changed files with 1 additions and 1 deletions

View File

@ -1553,7 +1553,7 @@ void Parser::ParseLV3MeshWeightsBlock(ASE::Mesh& mesh)
void Parser::ParseLV4MeshBones(unsigned int iNumBones,ASE::Mesh& mesh) void Parser::ParseLV4MeshBones(unsigned int iNumBones,ASE::Mesh& mesh)
{ {
AI_ASE_PARSER_INIT(); AI_ASE_PARSER_INIT();
mesh.mBones.resize(iNumBones); mesh.mBones.resize(iNumBones, Bone("UNNAMED"));
while (true) while (true)
{ {
if ('*' == *filePtr) if ('*' == *filePtr)