mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:24:22 +02:00
lengthOfVoxelData already includes the length of the color data.
This commit is contained in:
parent
750843e867
commit
f4565b329a
1 changed files with 2 additions and 2 deletions
|
@ -197,8 +197,8 @@ bool createVoxelEditMessage(unsigned char command, short int sequence,
|
|||
} else {
|
||||
// add it to our message
|
||||
memcpy(copyAt,voxelData,lengthOfVoxelData);
|
||||
copyAt+=lengthOfVoxelData+SIZE_OF_COLOR_DATA;
|
||||
actualMessageSize+=lengthOfVoxelData+SIZE_OF_COLOR_DATA;
|
||||
copyAt+=lengthOfVoxelData;
|
||||
actualMessageSize+=lengthOfVoxelData;
|
||||
}
|
||||
// cleanup
|
||||
delete voxelData;
|
||||
|
|
Loading…
Reference in a new issue