- fixed: voxels didn't set their index count.

This commit is contained in:
Christoph Oelckers 2014-10-24 11:52:45 +02:00
parent e5cd90f323
commit f8016bef86

View file

@ -387,6 +387,7 @@ void FVoxelModel::BuildVertexBuffer()
mVBuf->UnlockVertexBuffer(); mVBuf->UnlockVertexBuffer();
mVBuf->UnlockIndexBuffer(); mVBuf->UnlockIndexBuffer();
mNumIndices = mIndices.Size();
// delete our temporary buffers // delete our temporary buffers
mVertices.Clear(); mVertices.Clear();