Upgrade to Bevy 0.19 and harden editor workflows
CI / Format, lint, test, build (push) Has been cancelled

This commit is contained in:
Rbanh committed 2026-07-09 23:43:47 -04:00
1 parent 3f85d25cc7
commit b5e561904c
204 files changed
+6972 -29907

No files matched your search

+8 -5
View File
@@ -765,7 +765,7 @@ impl Default for MaterialDesc {
}
/// Reflectable reference to an imported 3D model scene (glTF/GLB or FBX).
/// Hydration turns this into a `SceneRoot` on the entity.
/// Hydration turns this into a `WorldAssetRoot` on the entity.
#[derive(Component, Reflect, Default, Debug, Clone, Serialize, Deserialize)]
#[reflect(Component, Default, Debug, Serialize, Deserialize)]
pub struct ModelRef {
@@ -790,7 +790,7 @@ impl ModelRef {
}
/// Reflectable reference to a saved `.scn.ron` dynamic scene under `assets/`.
/// Hydration turns this into a `DynamicSceneRoot`.
/// Hydration turns this into a `DynamicWorldRoot`.
#[derive(Component, Reflect, Default, Debug, Clone, Serialize, Deserialize)]
#[reflect(Component, Default, Debug, Serialize, Deserialize)]
pub struct PrefabRef {
@@ -1256,9 +1256,12 @@ mod tests {
#[test]
fn point_spot_lumen_max_covers_bevy_cinema_reference() {
assert!(
super::AUTHORING_POINT_SPOT_LUMENS_MAX >= light_consts::lumens::VERY_LARGE_CINEMA_LIGHT
);
const {
assert!(
super::AUTHORING_POINT_SPOT_LUMENS_MAX
>= light_consts::lumens::VERY_LARGE_CINEMA_LIGHT
);
}
}
#[test]