mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix thing broken by refactor
This commit is contained in:
parent
ed2f0cac77
commit
895a496f6e
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ const Mesh<ChunkVertex>* ChunksRenderer::render(
|
|||
) {
|
||||
glm::ivec2 key(chunk->x, chunk->z);
|
||||
chunk->flags.modified = false;
|
||||
if (!important) {
|
||||
if (important) {
|
||||
ChunkMesh mesh {};
|
||||
auto voxelsBuffer = prepareVoxelsVolume(*chunk);
|
||||
mesh = renderer->render(chunk.get(), *voxelsBuffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue