Преглед изворни кода

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);
 
     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