Skip to content

Commit

Permalink
removing perfui
Browse files Browse the repository at this point in the history
  • Loading branch information
gbin committed Jan 21, 2025
1 parent c40a715 commit 85c4d5c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions examples/cu_rp_balancebot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,13 @@ cu29-export = { workspace = true, optional = true }
bevy = { version = "0.15.1", default-features = false, features = ["x11", "wayland", "default_font", "bevy_render", "bevy_window", "bevy_core_pipeline", "bevy_pbr", "bevy_scene", "bevy_sprite", "bevy_gltf", "animation", "bevy_picking", "bevy_mesh_picking_backend", "tonemapping_luts", "bevy_ui", "ktx2", "jpeg", "png"], optional = true }
avian3d = { version = "0.2.0", default-features = false, features = ["bevy_scene", "collider-from-mesh", "debug-plugin", "parallel", "f32", "3d", "parry-f32"], optional = true }
cached-path = { version = "0.6.1", optional = true }
iyes_perf_ui = { git = "https://github.com/makeecat/iyes_perf_ui", version = "0.4.0", optional = true }

[features]
default = ["logreader", "sim"]
# generates an executable to read the logs
logreader = ["cu29-export"]
# dependencies to build to matrix for copper
sim = ["bevy", "avian3d", "cached-path"]
perf-ui = ["iyes_perf_ui"]

[[bin]]
name = "balancebot"
Expand Down
9 changes: 0 additions & 9 deletions examples/cu_rp_balancebot/src/world/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ use bevy::pbr::{DefaultOpaqueRendererMethod, ScreenSpaceReflections};
use bevy::prelude::*;
use cached_path::{Cache, ProgressBar};

#[cfg(feature = "perf-ui")]
use iyes_perf_ui::PerfUiPlugin;

#[cfg(feature = "perf-ui")]
use iyes_perf_ui::prelude::PerfUiAllEntries;

use std::path::Path;
use std::{fs, io};

Expand Down Expand Up @@ -89,9 +83,6 @@ pub fn build_world(app: &mut App) -> &mut App {
.add_systems(Update, global_cart_drag_listener)
.add_systems(PostUpdate, reset_sim);

#[cfg(feature = "perf-ui")]
app.add_plugins(PerfUiPlugin);

app
}

Expand Down

0 comments on commit 85c4d5c

Please sign in to comment.