From 9bf80a856607f9eff2ddd52890aca0129107d436 Mon Sep 17 00:00:00 2001 From: Anders Rasmussen Date: Mon, 22 Feb 2021 03:59:36 +0000 Subject: [PATCH] Fix warning in scene example (#1441) I noticed the following error when trying out the `scene` example ```bash Feb 13 22:11:13.997 WARN bevy_asset::asset_server: encountered an error while loading an asset: No registration found for glam::f32::vec3::Vec3 ``` This PR fixes the error and makes the scene file load correctly --- assets/scenes/load_scene_example.scn.ron | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/scenes/load_scene_example.scn.ron b/assets/scenes/load_scene_example.scn.ron index 5b3672715b..1f9de9dae7 100644 --- a/assets/scenes/load_scene_example.scn.ron +++ b/assets/scenes/load_scene_example.scn.ron @@ -6,15 +6,15 @@ "type": "bevy_transform::components::transform::Transform", "struct": { "translation": { - "type": "glam::f32::vec3::Vec3", + "type": "glam::vec3::Vec3", "value": (0.0, 0.0, 0.0), }, "rotation": { - "type": "glam::f32::quat::Quat", + "type": "glam::quat::Quat", "value": (0.0, 0.0, 0.0, 1.0), }, "scale": { - "type": "glam::f32::vec3::Vec3", + "type": "glam::vec3::Vec3", "value": (1.0, 1.0, 1.0), }, }, @@ -61,4 +61,4 @@ }, ], ), -] \ No newline at end of file +]