mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-08 23:19:35 +02:00
fixed CR issue
This commit is contained in:
parent
342e3e0407
commit
bccad01e0e
1 changed files with 2 additions and 2 deletions
|
@ -387,8 +387,8 @@ void VoxelTree::loadVoxelsFile(const char* fileName, bool wantColorRandomizer) {
|
||||||
file.get(octets);
|
file.get(octets);
|
||||||
//printLog("octets=%d...\n",octets);
|
//printLog("octets=%d...\n",octets);
|
||||||
totalBytesRead++;
|
totalBytesRead++;
|
||||||
lengthInBytes = bytesRequiredForCodeLength(octets)-1;
|
lengthInBytes = bytesRequiredForCodeLength(octets) - 1;
|
||||||
unsigned char * voxelData = new unsigned char[lengthInBytes+1+3];
|
unsigned char * voxelData = new unsigned char[lengthInBytes + 1 + 3];
|
||||||
voxelData[0]=octets;
|
voxelData[0]=octets;
|
||||||
char byte;
|
char byte;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue