mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 15:33:10 +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);
|
||||
//printLog("octets=%d...\n",octets);
|
||||
totalBytesRead++;
|
||||
lengthInBytes = bytesRequiredForCodeLength(octets)-1;
|
||||
unsigned char * voxelData = new unsigned char[lengthInBytes+1+3];
|
||||
lengthInBytes = bytesRequiredForCodeLength(octets) - 1;
|
||||
unsigned char * voxelData = new unsigned char[lengthInBytes + 1 + 3];
|
||||
voxelData[0]=octets;
|
||||
char byte;
|
||||
|
||||
|
|
Loading…
Reference in a new issue