浏览代码

changed morph anim error to warning when validating

Bart Sekura 4 年之前
父节点
当前提交
f8c512acd7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/PostProcessing/ValidateDataStructure.cpp

+ 1 - 1
code/PostProcessing/ValidateDataStructure.cpp

@@ -844,7 +844,7 @@ void ValidateDSProcess::Validate(const aiAnimation *pAnimation,
     Validate(&pMeshMorphAnim->mName);
     Validate(&pMeshMorphAnim->mName);
 
 
     if (!pMeshMorphAnim->mNumKeys) {
     if (!pMeshMorphAnim->mNumKeys) {
-        ReportError("Empty mesh morph animation channel");
+        ReportWarning("Empty mesh morph animation channel");
     }
     }
 
 
     // otherwise check whether one of the keys exceeds the total duration of the animation
     // otherwise check whether one of the keys exceeds the total duration of the animation