diff --git a/src/world/loading.rs b/src/world/loading.rs index c2302e3..6a8b9e5 100644 --- a/src/world/loading.rs +++ b/src/world/loading.rs @@ -113,6 +113,8 @@ fn start_required_tasks( //Update chunk state let chunk = world.chunks.get_mut(&position).unwrap(); chunk.current_state = CurrentChunkState::Loading; + // =========== + log::info!("Started loading chunk {position}"); }, DesiredChunkState::Rendered if chunk.current_state == CurrentChunkState::Loaded => { //get needed data @@ -127,6 +129,8 @@ fn start_required_tasks( //Update chunk state let chunk = world.chunks.get_mut(&position).unwrap(); chunk.current_state = CurrentChunkState::CalculatingMesh; + // =========== + log::info!("Started generating mesh for chunk {position}"); } _ => () }