Le Juez Victor
há 2 anos
committed by
GitHub
ascendente
cometimento
753c0b3853
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
1 adições e
1 eliminações
-
src/external/vox_loader.h
|
|
@ -555,7 +555,7 @@ int Vox_LoadFromMemory(unsigned char* pvoxData, unsigned int voxDataSize, VoxArr |
|
|
|
version = ((unsigned int*)fileDataPtr)[0]; |
|
|
|
fileDataPtr += 4; |
|
|
|
|
|
|
|
if (version != 150) |
|
|
|
if (version != 150 && version != 200) |
|
|
|
{ |
|
|
|
return VOX_ERROR_FILE_VERSION_NOT_MATCH; //"MagicaVoxel version doesn't match" |
|
|
|
} |
|
|
|