From 5968759d4292ca52bcefd815ee52cbb84b5c784e Mon Sep 17 00:00:00 2001 From: robtfm <50659922+robtfm@users.noreply.github.com> Date: Tue, 21 Jun 2022 15:13:44 +0100 Subject: [PATCH] remove println --- crates/bevy_pbr/src/light.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/bevy_pbr/src/light.rs b/crates/bevy_pbr/src/light.rs index 0c614f062a65a..22e3fb22cae0e 100644 --- a/crates/bevy_pbr/src/light.rs +++ b/crates/bevy_pbr/src/light.rs @@ -1299,9 +1299,6 @@ pub(crate) fn assign_lights_to_clusters( // all clusters within range are affected by point lights clusters.lights[cluster_index].entities.push(light.entity); clusters.lights[cluster_index].point_light_count += 1; - if clusters.lights[cluster_index].spotlight_count > 0 { - println!("spots before points"); - } cluster_index += clusters.dimensions.z as usize; } }