Skip to content

Commit 2a6e084

Browse files
committed
Cleanup debug logs.
1 parent 6a42f49 commit 2a6e084

File tree

1 file changed

+0
-11
lines changed
  • crates/processing_render/src/render

1 file changed

+0
-11
lines changed

crates/processing_render/src/render/mod.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@ pub fn flush_draw_commands(
133133
let view_from_world = camera_transform.to_matrix().inverse();
134134
let world_from_clip = (clip_from_view * view_from_world).inverse();
135135
let draw_commands = std::mem::take(&mut cmd_buffer.commands);
136-
info!(
137-
"[flush_draw_commands] processing {} draw commands for entity {:?}",
138-
draw_commands.len(),
139-
graphics_entity
140-
);
141136
let mut batch = BatchState::new(graphics_entity, render_layers.clone());
142137

143138
for cmd in draw_commands {
@@ -376,7 +371,6 @@ pub fn flush_draw_commands(
376371
pub fn activate_cameras(mut cameras: Query<(&mut Camera, Option<&Flush>)>) {
377372
for (mut camera, flush) in cameras.iter_mut() {
378373
let active = flush.is_some();
379-
info!("[activate_cameras] is_active={active}");
380374
camera.is_active = active;
381375
}
382376
}
@@ -386,10 +380,6 @@ pub fn clear_transient_meshes(
386380
surfaces: Query<&TransientMeshes, With<Flush>>,
387381
) {
388382
for transient_meshes in surfaces.iter() {
389-
info!(
390-
"[clear_transient_meshes] despawning {} meshes",
391-
transient_meshes.0.len()
392-
);
393383
for &mesh_entity in transient_meshes.0.iter() {
394384
commands.entity(mesh_entity).despawn();
395385
}
@@ -400,7 +390,6 @@ fn spawn_mesh(res: &mut RenderResources, batch: &mut BatchState, mesh: Mesh, z_o
400390
let Some(key) = &batch.material_key else {
401391
return;
402392
};
403-
info!("[spawn_mesh] spawning mesh with z_offset={z_offset} material={key:?}");
404393

405394
let mesh_handle = res.meshes.add(mesh);
406395

0 commit comments

Comments
 (0)