fix: lines not moving when its moved using spatials: bad impl
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -94,7 +94,7 @@ fn build_line_mesh(
|
|||||||
for lines in LINES_REGISTRY
|
for lines in LINES_REGISTRY
|
||||||
.get_valid_contents()
|
.get_valid_contents()
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.filter(|l| l.gen_mesh.load(Ordering::Relaxed))
|
// .filter(|l| l.gen_mesh.load(Ordering::Relaxed))
|
||||||
{
|
{
|
||||||
lines.gen_mesh.store(false, Ordering::Relaxed);
|
lines.gen_mesh.store(false, Ordering::Relaxed);
|
||||||
let mut vertex_positions = Vec::<Vec3>::new();
|
let mut vertex_positions = Vec::<Vec3>::new();
|
||||||
|
|||||||
Reference in New Issue
Block a user