Fix potential inaccuracy bug

I don't think this is an actual bug, since the conversion from local to
global point should be deterministic. Still, at the very least, this is
restoring the code to its original intention.
This commit is contained in:
Hanno Braun 2025-04-11 13:30:06 +02:00
parent b855728116
commit 88df0cb625

View File

@ -42,7 +42,7 @@ impl Sketch {
let vertex = Handle::new(Vertex::new(point_global));
vertices_by_local_point
.entry(point_global)
.entry(point_local)
.or_default()
.push(vertex.clone());