소스 검색

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 키 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"
}

불러오는 중...
취소
저장