diff options
author | bitsawer <sawerduster@gmail.com> | 2023-01-25 23:17:53 +0200 |
---|---|---|
committer | bitsawer <sawerduster@gmail.com> | 2023-01-26 00:14:39 +0200 |
commit | 8c25bcdb8484e1cfd0a2d14398a3423d2df9b4c5 (patch) | |
tree | bce437b285c0664072a14347fb3400185f106d05 /core/math | |
parent | 10d22a4b35b33ad89f626c261ef7f1aeae81daf3 (diff) |
Fix range loop iteration regressions
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/geometry_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/geometry_3d.cpp b/core/math/geometry_3d.cpp index 4786110054..590483bf20 100644 --- a/core/math/geometry_3d.cpp +++ b/core/math/geometry_3d.cpp @@ -151,7 +151,7 @@ void Geometry3D::MeshData::optimize_vertices() { } } - for (MeshData::Edge edge : edges) { + for (MeshData::Edge &edge : edges) { int a = edge.vertex_a; int b = edge.vertex_b; |