refactor(client): drop chunk logging superseded by the statistics panel
This commit is contained in:
parent
c3d757f8dc
commit
cc6b0cada6
|
|
@ -9,7 +9,7 @@ use renderer::vertex::Vertex;
|
||||||
use renderer::{MeshKey, RendererError};
|
use renderer::{MeshKey, RendererError};
|
||||||
use shared::protocol::chunk::ChunkMessage;
|
use shared::protocol::chunk::ChunkMessage;
|
||||||
use shared::world::{CHUNK_SIZE, Chunk, ChunkPos};
|
use shared::world::{CHUNK_SIZE, Chunk, ChunkPos};
|
||||||
use tracing::{debug, error};
|
use tracing::error;
|
||||||
|
|
||||||
use crate::mesh_pool::{JobGen, MeshJob, MeshPool, MeshResult};
|
use crate::mesh_pool::{JobGen, MeshJob, MeshPool, MeshResult};
|
||||||
|
|
||||||
|
|
@ -214,20 +214,6 @@ impl ChunkManager {
|
||||||
|
|
||||||
self.totals
|
self.totals
|
||||||
.accumulate(loaded, dropped, unloaded, dispatched, applied);
|
.accumulate(loaded, dropped, unloaded, dispatched, applied);
|
||||||
|
|
||||||
if loaded > 0 || dropped > 0 || unloaded > 0 || applied > 0 || dispatched > 0 {
|
|
||||||
debug!(
|
|
||||||
loaded,
|
|
||||||
dropped,
|
|
||||||
unloaded,
|
|
||||||
dispatched,
|
|
||||||
applied,
|
|
||||||
pending = self.pending_remesh.len(),
|
|
||||||
in_flight = self.in_flight.len(),
|
|
||||||
resident = self.resident.len(),
|
|
||||||
"chunk stream reconciled"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Ingests every finished mesh currently available from the pool, uploading the ones that are still current and discarding superseded or evicted ones. Returns the number uploaded.
|
/// Ingests every finished mesh currently available from the pool, uploading the ones that are still current and discarding superseded or evicted ones. Returns the number uploaded.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue