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

Addition of support for vox files in version 200. (#3097)

pull/3103/head
Le Juez Victor пре 2 година
committed by GitHub
родитељ
комит
753c0b3853
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/external/vox_loader.h

+ 1
- 1
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"
}

Loading…
Откажи
Сачувај