Skip to content

Commit

Permalink
Fix invalid scene file for scene example (#15829)
Browse files Browse the repository at this point in the history
# 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`
  • Loading branch information
rparrett authored Oct 10, 2024
1 parent 7fa77a3 commit 754194f
Showing 1 changed file with 14 additions and 22 deletions.
36 changes: 14 additions & 22 deletions assets/scenes/load_scene_example.scn.ron
Original file line number Diff line number Diff line change
@@ -1,37 +1,29 @@
(
resources: {
"scene::ResourceA": (
score: 2,
score: 1,
),
},
entities: {
4294967296: (
components: {
"bevy_transform::components::transform::Transform": (
translation: (
x: 0.0,
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
),
"bevy_core::name::Name": (
hash: 17588334858059901562,
name: "joe",
),
"scene::ComponentB": (
value: "hello",
"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)),
"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": (
x: 1.0,
y: 2.0,
),
"scene::ComponentB": (
value: "hello",
),
},
),
4294967297: (
Expand All @@ -42,5 +34,5 @@
),
},
),
}
)
},
)

0 comments on commit 754194f

Please sign in to comment.