mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
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:
parent
7fa77a383f
commit
754194fd24
1 changed files with 14 additions and 22 deletions
|
@ -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 @@
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
}
|
},
|
||||||
)
|
)
|
Loading…
Reference in a new issue