mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fmt
This commit is contained in:
parent
51ad1f1995
commit
0c9843999b
@ -9,8 +9,8 @@ use common::{
|
||||
volumes::vol_map_2d::VolMap2dErr,
|
||||
};
|
||||
use frustum_query::frustum::Frustum;
|
||||
use std::{i32, ops::Mul, sync::mpsc, time::Duration};
|
||||
use fxhash::FxHashMap;
|
||||
use std::{i32, ops::Mul, sync::mpsc, time::Duration};
|
||||
use vek::*;
|
||||
|
||||
struct TerrainChunk {
|
||||
@ -143,7 +143,8 @@ impl Terrain {
|
||||
self.mesh_todo.remove(pos);
|
||||
}
|
||||
|
||||
for todo in self.mesh_todo
|
||||
for todo in self
|
||||
.mesh_todo
|
||||
.values_mut()
|
||||
.filter(|todo| {
|
||||
todo.active_worker
|
||||
|
Loading…
Reference in New Issue
Block a user