From 0c922176fee512c89af8e77ed27e19aa4bea9bdd Mon Sep 17 00:00:00 2001 From: IceSentry Date: Sun, 13 Jul 2025 13:46:24 -0400 Subject: [PATCH] clean up setup code --- examples/shader/specialized_mesh_pipeline.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/shader/specialized_mesh_pipeline.rs b/examples/shader/specialized_mesh_pipeline.rs index a9ad1b7a81..540eb5468a 100644 --- a/examples/shader/specialized_mesh_pipeline.rs +++ b/examples/shader/specialized_mesh_pipeline.rs @@ -44,15 +44,10 @@ fn main() { App::new() .add_plugins(DefaultPlugins) .add_plugins(CustomRenderedMeshPipelinePlugin) - .add_systems( - Startup, - (setup, setup2).run_if(resource_exists::), - ) + .add_systems(Startup, setup) .run(); } -fn setup2() {} - /// Spawns the objects in the scene. fn setup(mut commands: Commands, mut meshes: ResMut>) { // Build a custom triangle mesh with colors