Small format finding
parent
629320a3a0
commit
b0c9711894
|
@ -4,7 +4,6 @@ Open Asset Import Library (assimp)
|
||||||
|
|
||||||
Copyright (c) 2006-2020, assimp team
|
Copyright (c) 2006-2020, assimp team
|
||||||
|
|
||||||
|
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use of this software in source and binary forms,
|
Redistribution and use of this software in source and binary forms,
|
||||||
|
@ -1318,8 +1317,9 @@ void ColladaExporter::WriteAnimationLibrary(size_t pIndex)
|
||||||
|
|
||||||
const aiAnimation * anim = mScene->mAnimations[pIndex];
|
const aiAnimation * anim = mScene->mAnimations[pIndex];
|
||||||
|
|
||||||
if ( anim->mNumChannels == 0 && anim->mNumMeshChannels == 0 && anim->mNumMorphMeshChannels ==0 )
|
if ( anim->mNumChannels == 0 && anim->mNumMeshChannels == 0 && anim->mNumMorphMeshChannels ==0 ) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const std::string animation_name_escaped = XMLEscape( anim->mName.C_Str() );
|
const std::string animation_name_escaped = XMLEscape( anim->mName.C_Str() );
|
||||||
std::string idstr = anim->mName.C_Str();
|
std::string idstr = anim->mName.C_Str();
|
||||||
|
|
Loading…
Reference in New Issue