We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7cde43 commit 5b8cfa9Copy full SHA for 5b8cfa9
1 file changed
code/PostProcessing/FindInvalidDataProcess.cpp
@@ -3,7 +3,7 @@
3
Open Asset Import Library (assimp)
4
---------------------------------------------------------------------------
5
6
-Copyright (c) 2006-2022, assimp team
+Copyright (c) 2006-2023, assimp team
7
8
All rights reserved.
9
@@ -273,7 +273,8 @@ void FindInvalidDataProcess::ProcessAnimation(aiAnimation *anim) {
273
void FindInvalidDataProcess::ProcessAnimationChannel(aiNodeAnim *anim) {
274
ai_assert(nullptr != anim);
275
if (anim->mNumPositionKeys == 0 && anim->mNumRotationKeys == 0 && anim->mNumScalingKeys == 0) {
276
- ai_assert_entry();
+ ASSIMP_LOG_ERROR("Invalid node anuimation instance detected.");
277
+
278
return;
279
}
280
0 commit comments