Upgrade to Bevy 0.19 and harden editor workflows
CI / Format, lint, test, build (push) Has been cancelled
CI / Format, lint, test, build (push) Has been cancelled
This commit is contained in:
1 parent
3f85d25cc7
commit
b5e561904c
204 files changed
+6972
-29907
No files matched your search
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user