From ac201568f250b69731ba3ba13710a7b64db9bfc0 Mon Sep 17 00:00:00 2001 From: IceSentry Date: Sat, 12 Jul 2025 22:19:54 -0400 Subject: [PATCH] yeet log --- examples/shader/specialized_mesh_pipeline.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/shader/specialized_mesh_pipeline.rs b/examples/shader/specialized_mesh_pipeline.rs index 4a931c4585..027d5b126f 100644 --- a/examples/shader/specialized_mesh_pipeline.rs +++ b/examples/shader/specialized_mesh_pipeline.rs @@ -44,10 +44,15 @@ fn main() { App::new() .add_plugins(DefaultPlugins) .add_plugins(CustomRenderedMeshPipelinePlugin) - .add_systems(Startup, setup) + .add_systems( + Startup, + (setup, setup2).run_if(resource_exists::), + ) .run(); } +fn setup2() {} + /// Spawns the objects in the scene. fn setup(mut commands: Commands, mut meshes: ResMut>) { // Build a custom triangle mesh with colors @@ -291,7 +296,6 @@ fn queue_custom_mesh_pipeline( let Some(opaque_phase) = opaque_render_phases.get_mut(&view.retained_view_entity) else { continue; }; - info!("queue view {:?}", view.retained_view_entity.main_entity); // Create the key based on the view. In this case we only care about MSAA and HDR let view_key = MeshPipelineKey::from_msaa_samples(msaa.samples())