From bace24b13c119f539cf5cded18c3a8b80799eb14 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sun, 29 Jan 2023 02:16:26 +0100 Subject: [PATCH] Always unmark dirty --- src/world/loading.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/loading.rs b/src/world/loading.rs index d360777..28ec501 100644 --- a/src/world/loading.rs +++ b/src/world/loading.rs @@ -152,10 +152,10 @@ fn start_required_tasks( let chunk = world.chunks.get_mut(&position).unwrap(); if chunk.dirty { chunk.current_state = CurrentChunkState::RecalculatingMesh; - chunk.dirty = false; } else { chunk.current_state = CurrentChunkState::CalculatingMesh; } + chunk.dirty = false; // =========== //log::trace!("Started generating mesh for chunk {position}"); }