- changed voxel remapping to make a copy instead of destroying the original.
With live renderer switching both sets of data are needed.
This commit is contained in:
parent
2f96d3c61a
commit
942460ba55
9 changed files with 44 additions and 26 deletions
|
|
@ -306,7 +306,7 @@ void FVoxelModel::Initialize()
|
|||
FVoxelMipLevel *mip = &mVoxel->Mips[0];
|
||||
for (int x = 0; x < mip->SizeX; x++)
|
||||
{
|
||||
uint8_t *slabxoffs = &mip->SlabData[mip->OffsetX[x]];
|
||||
uint8_t *slabxoffs = &mip->GetSlabData(false)[mip->OffsetX[x]];
|
||||
short *xyoffs = &mip->OffsetXY[x * (mip->SizeY + 1)];
|
||||
for (int y = 0; y < mip->SizeY; y++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue