mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
cargo fmt
This commit is contained in:
parent
b1dc85dc0f
commit
9205da2298
@ -222,7 +222,11 @@ pub mod figuredata {
|
||||
// need to load them in the server and sync them as an ECS resource.
|
||||
let vox =
|
||||
cache.load::<DotVoxAsset>(&["common.voxel.", &bone.central.0].concat())?;
|
||||
let dyna = Dyna::<Cell, (), ColumnAccess>::from_vox(&vox.read().0, false, bone.model_index as usize);
|
||||
let dyna = Dyna::<Cell, (), ColumnAccess>::from_vox(
|
||||
&vox.read().0,
|
||||
false,
|
||||
bone.model_index as usize,
|
||||
);
|
||||
let dyna = dyna.map_into(|cell| {
|
||||
if let Some(rgb) = cell.get_color() {
|
||||
Block::new(BlockKind::Misc, rgb)
|
||||
|
Loading…
Reference in New Issue
Block a user