Fixed typo

pull/4055/head
Max Vollmer (Microsoft Havok) 2021-09-02 10:07:28 +01:00
parent 72ea80b41f
commit bf8e36ae28
1 changed files with 2 additions and 2 deletions

View File

@ -1338,12 +1338,12 @@ std::unordered_map<unsigned int, AnimationSamplers> GatherSamplers(Animation &an
auto& animsampler = anim.samplers[channel.sampler]; auto& animsampler = anim.samplers[channel.sampler];
if (animsampler.input) { if (!animsampler.input) {
ASSIMP_LOG_WARN("Animation ", anim.name, ": Missing sampler input. Skipping."); ASSIMP_LOG_WARN("Animation ", anim.name, ": Missing sampler input. Skipping.");
continue; continue;
} }
if (animsampler.output) { if (!animsampler.output) {
ASSIMP_LOG_WARN("Animation ", anim.name, ": Missing sampler output. Skipping."); ASSIMP_LOG_WARN("Animation ", anim.name, ": Missing sampler output. Skipping.");
continue; continue;
} }