Fixed bug with serialising volume sizes. See: http://www.volumesoffun.com/phpBB3/viewtopic.php?f=15&t=360
This commit is contained in:
parent
de463a73cd
commit
e7f7e980b4
@ -317,7 +317,7 @@ namespace PolyVox
|
||||
|
||||
//Resize the volume
|
||||
//HACK - Forces block size to 32. This functions needs reworking anyway due to large volume support.
|
||||
volume.resize(Region(Vector3DInt32(0,0,0), Vector3DInt32(volumeWidth, volumeHeight, volumeDepth)), 32);
|
||||
volume.resize(Region(Vector3DInt32(0,0,0), Vector3DInt32(volumeWidth-1, volumeHeight-1, volumeDepth-1)), 32);
|
||||
|
||||
//Read data
|
||||
bool firstTime = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user