Merge pull request #1433 from vkovalev123/patch-1

Update 3DSLoader.cpp
pull/1437/head
Kim Kulling 2017-09-15 09:37:57 +02:00 committed by GitHub
commit dce39fdf43
1 changed files with 1 additions and 1 deletions

View File

@ -1381,7 +1381,7 @@ void Discreet3DSImporter::ParseColorChunk( aiColor3D* out, bool acceptPercent )
bGamma = true;
case Discreet3DS::CHUNK_RGBF:
if (sizeof(ai_real) * 3 > diff) {
if (sizeof(float) * 3 > diff) {
*out = clrError;
return;
}