From 35b16d48e2c3ecc247d200ec785f19285b517cd9 Mon Sep 17 00:00:00 2001 From: Hennadii Chernyshchyk Date: Fri, 6 Dec 2024 01:35:11 +0200 Subject: [PATCH] Enable egui priority --- Cargo.lock | 91 +++++++++++++++++++++++--------------------------- Cargo.toml | 2 +- app/Cargo.toml | 2 +- 3 files changed, 44 insertions(+), 51 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 60810a31..94933229 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -244,7 +244,7 @@ checksum = "9fb4009533e8ff8f1450a5bcbc30f4242a1d34442221f72314bea1f5dc9c7f89" dependencies = [ "clipboard-win", "core-graphics", - "image 0.25.2", + "image", "log", "objc2", "objc2-app-kit", @@ -410,9 +410,9 @@ dependencies = [ [[package]] name = "bevy-inspector-egui" -version = "0.25.2" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b66b51a66c0be92604c13cd490509d77676c05406f4f4b046672aaffdcc925f" +checksum = "cac12a22e5de801323bc5bc344949de086b9b8db02c34e109f128ffd41514e5d" dependencies = [ "bevy-inspector-egui-derive", "bevy_app", @@ -435,17 +435,17 @@ dependencies = [ "bytemuck", "egui", "fuzzy-matcher", - "image 0.24.9", - "once_cell", + "image", "pretty-type-name", "smallvec", + "winit", ] [[package]] name = "bevy-inspector-egui-derive" -version = "0.25.1" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "791acfac11e3d5a750952c5201dc0d414b88431260118b46949bf6b159c5a19c" +checksum = "89f3be3ba88a25445c0c10684709b1ccd07e37f5f6b5d1b8dcf11d34548f1d61" dependencies = [ "proc-macro2", "quote", @@ -697,16 +697,28 @@ dependencies = [ [[package]] name = "bevy_egui" -version = "0.28.0" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e4a90f30f2849a07d91e393b10c0cc05df09b5773c010ddde57dd8b583be230" +checksum = "c451b97a7e934b2d31b39e1f68923c0a30894d23e39a2d2d90dbd50aa24d472e" dependencies = [ "arboard", - "bevy", + "bevy_app", + "bevy_asset", + "bevy_derive", + "bevy_ecs", + "bevy_input", + "bevy_log", + "bevy_math", + "bevy_reflect", + "bevy_render", + "bevy_time", + "bevy_utils", + "bevy_window", + "bevy_winit", "bytemuck", - "console_log", "crossbeam-channel", "egui", + "encase", "js-sys", "log", "thread_local", @@ -714,6 +726,7 @@ dependencies = [ "wasm-bindgen-futures", "web-sys", "webbrowser", + "wgpu-types", "winit", ] @@ -734,6 +747,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "953398fe837f25db2624fbd046db5ee422d7c59c02f697baeda80fe1952c9c2d" dependencies = [ "bevy", + "bevy_egui", "bevy_enhanced_input_macros", "bitflags 2.6.0", "serde", @@ -1064,7 +1078,7 @@ dependencies = [ "encase", "futures-lite", "hexasphere", - "image 0.25.2", + "image", "js-sys", "ktx2", "naga", @@ -1672,12 +1686,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "color_quant" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" - [[package]] name = "colorchoice" version = "1.0.1" @@ -1744,16 +1752,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "console_log" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8aed40e4edbf4d3b4431ab260b63fdc40f5780a4766824329ea0f1eefe3c0f" -dependencies = [ - "log", - "web-sys", -] - [[package]] name = "const-fnv1a-hash" version = "1.1.0" @@ -2059,9 +2057,9 @@ dependencies = [ [[package]] name = "ecolor" -version = "0.28.1" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e6b451ff1143f6de0f33fc7f1b68fecfd2c7de06e104de96c4514de3f5396f8" +checksum = "775cfde491852059e386c4e1deb4aef381c617dc364184c6f6afee99b87c402b" dependencies = [ "bytemuck", "emath", @@ -2069,9 +2067,9 @@ dependencies = [ [[package]] name = "egui" -version = "0.28.1" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c97e70a2768de630f161bb5392cbd3874fcf72868f14df0e002e82e06cb798" +checksum = "53eafabcce0cb2325a59a98736efe0bf060585b437763f8c476957fb274bb974" dependencies = [ "ahash", "emath", @@ -2087,9 +2085,9 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "emath" -version = "0.28.1" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6a21708405ea88f63d8309650b4d77431f4bc28fb9d8e6f77d3963b51249e6" +checksum = "b1fe0049ce51d0fb414d029e668dd72eb30bc2b739bf34296ed97bd33df544f3" dependencies = [ "bytemuck", ] @@ -2128,19 +2126,26 @@ dependencies = [ [[package]] name = "epaint" -version = "0.28.1" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f0dcc0a0771e7500e94cd1cb797bd13c9f23b9409bdc3c824e2cbc562b7fa01" +checksum = "a32af8da821bd4f43f2c137e295459ee2e1661d87ca8779dfa0eaf45d870e20f" dependencies = [ "ab_glyph", "ahash", "bytemuck", "ecolor", "emath", + "epaint_default_fonts", "nohash-hasher", "parking_lot", ] +[[package]] +name = "epaint_default_fonts" +version = "0.29.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "483440db0b7993cf77a20314f08311dbe95675092405518c0677aa08c151a3ea" + [[package]] name = "equivalent" version = "1.0.1" @@ -2489,7 +2494,7 @@ dependencies = [ "vec_map", "wasm-bindgen", "web-sys", - "windows 0.52.0", + "windows 0.54.0", ] [[package]] @@ -2793,18 +2798,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "image" -version = "0.24.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d" -dependencies = [ - "bytemuck", - "byteorder", - "color_quant", - "num-traits", -] - [[package]] name = "image" version = "0.25.2" diff --git a/Cargo.toml b/Cargo.toml index 3f5cb92e..3777469b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ bevy_mod_outline = { version = "0.8" } bevy_simple_text_input = "0.9" vleue_navigator = { version = "0.10", features = ["avian3d"] } avian3d = { version = "0.1", features = ["serialize"] } -bevy-inspector-egui = "0.25" +bevy-inspector-egui = "0.27" app_dirs2 = "2.5" serde = "1.0" earcut = "0.4" diff --git a/app/Cargo.toml b/app/Cargo.toml index 8796a765..bff727c6 100644 --- a/app/Cargo.toml +++ b/app/Cargo.toml @@ -46,7 +46,7 @@ itertools.workspace = true bitflags.workspace = true [features] -inspector = ["dep:bevy-inspector-egui"] +inspector = ["dep:bevy-inspector-egui", "bevy_enhanced_input/egui_priority"] [lints] workspace = true