From 6a0242b9527f4802429214b7eec9c4dec6bf7984 Mon Sep 17 00:00:00 2001 From: arcadeperfect Date: Mon, 26 Aug 2024 22:31:19 -0400 Subject: [PATCH] cant load json like that --- src/main.rs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/main.rs b/src/main.rs index 930bf43..97b2ad7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,13 +1,8 @@ use bevy::{ - animation::animate_targets, - core_pipeline::{bloom::BloomSettings, tonemapping::Tonemapping}, - gltf::GltfPlugin, - prelude::*, - render::{ + animation::animate_targets, asset::AssetMetaCheck, core_pipeline::{bloom::BloomSettings, tonemapping::Tonemapping}, gltf::GltfPlugin, prelude::*, render::{ mesh::{skinning::SkinnedMesh, MeshVertexAttribute}, render_resource::VertexFormat, - }, - scene::SceneInstanceReady, + }, scene::SceneInstanceReady }; use bevy_egui::{egui, EguiContexts, EguiPlugin}; use bevy_panorbit_camera::{PanOrbitCamera, PanOrbitCameraPlugin}; @@ -142,7 +137,9 @@ fn setup( ..default() }, WireframeSettings { - gltf_path: Some(String::from(ASTROPATH)), + gltf_path: None, + // gltf_path: Some(String::from(ASTROPATH)), + }, )) .id();