Fix invalid scene file for scene example (#15829)

# Objective

Fixes #15828

## Solution

Ran the example to generate `load_scene_example-new.scn.ron` and
replaced `load_scene_example.scn.ron` with the contents.

## Testing

`cargo run --example scene`
This commit is contained in:
Rob Parrett 2024-10-10 11:31:39 -07:00 committed by GitHub
parent 7fa77a383f
commit 754194fd24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,37 +1,29 @@
( (
resources: { resources: {
"scene::ResourceA": ( "scene::ResourceA": (
score: 2, score: 1,
), ),
}, },
entities: { entities: {
4294967296: ( 4294967296: (
components: { components: {
"bevy_transform::components::transform::Transform": ( "bevy_core::name::Name": (
translation: ( hash: 17588334858059901562,
x: 0.0, name: "joe",
y: 0.0,
z: 0.0
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
w: 1.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0
),
), ),
"scene::ComponentB": ( "bevy_transform::components::global_transform::GlobalTransform": ((1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0)),
value: "hello", "bevy_transform::components::transform::Transform": (
translation: (0.0, 0.0, 0.0),
rotation: (0.0, 0.0, 0.0, 1.0),
scale: (1.0, 1.0, 1.0),
), ),
"scene::ComponentA": ( "scene::ComponentA": (
x: 1.0, x: 1.0,
y: 2.0, y: 2.0,
), ),
"scene::ComponentB": (
value: "hello",
),
}, },
), ),
4294967297: ( 4294967297: (
@ -42,5 +34,5 @@
), ),
}, },
), ),
} },
) )