cleanup: cargo fmt

This commit is contained in:
Nova
2025-06-30 01:56:42 -07:00
parent d0f88c13cd
commit 4b0969d9cf
5 changed files with 18 additions and 10 deletions

View File

@@ -1,12 +1,14 @@
use super::{Line, LinesAspect};
use crate::{
BevyMaterial,
core::{
client::Client, color::ColorConvert, entity_handle::EntityHandle, error::Result,
registry::Registry,
},
nodes::{
spatial::{Spatial, SpatialNode}, Node
}, BevyMaterial,
Node,
spatial::{Spatial, SpatialNode},
},
};
use bevy::{
asset::RenderAssetUsages,

View File

@@ -31,7 +31,11 @@ impl Plugin for ModelNodePlugin {
app.add_systems(Update, load_models);
app.add_systems(
PostUpdate,
(gen_model_parts, apply_materials/* , update_visibillity */).chain(),
(
gen_model_parts,
apply_materials, /* , update_visibillity */
)
.chain(),
);
}
}
@@ -448,8 +452,7 @@ impl Material {
.occlusion_texture
.as_ref()
.map(|p| asset_server.load(p.as_path())),
..Default::default()
// spherical_harmonics: bevy_sk::skytext::SPHERICAL_HARMONICS_HANDLE,
..Default::default() // spherical_harmonics: bevy_sk::skytext::SPHERICAL_HARMONICS_HANDLE,
}
}
}