diff --git a/src/gl/models/gl_voxels.cpp b/src/gl/models/gl_voxels.cpp index c3ef4cd27e..62377c681e 100644 --- a/src/gl/models/gl_voxels.cpp +++ b/src/gl/models/gl_voxels.cpp @@ -387,6 +387,7 @@ void FVoxelModel::BuildVertexBuffer() mVBuf->UnlockVertexBuffer(); mVBuf->UnlockIndexBuffer(); + mNumIndices = mIndices.Size(); // delete our temporary buffers mVertices.Clear();