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

@@ -29,4 +29,3 @@ impl<T: Send + Sync + 'static> BevyChannelReader<T> {
}
}
}

View File

@@ -1,12 +1,12 @@
pub mod bevy_channel;
pub mod client;
pub mod client_state;
pub mod color;
pub mod delta;
pub mod destroy_queue;
pub mod entity_handle;
pub mod error;
pub mod registry;
pub mod resource;
pub mod scenegraph;
pub mod task;
pub mod color;
pub mod entity_handle;
pub mod bevy_channel;

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,
}
}
}

View File

@@ -96,7 +96,11 @@ impl CoreSurface {
// Import all surface buffers into textures
if let Err(err) = import_surface_tree(renderer, &wl_surface) {
tracing::error!("Failed to import surface tree for surface {}: {}", wl_surface.id(), err);
tracing::error!(
"Failed to import surface tree for surface {}: {}",
wl_surface.id(),
err
);
return;
}