diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-26 01:11:25 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-26 01:11:25 +0100 |
commit | 31496c296ad8e18b767fabce996bbce46b10cdf4 (patch) | |
tree | 3770d3e55362b4832b290623bf48f07fdaeaeb08 /core | |
parent | 4b0363312e9d13349cc7e1cfeff03168206a4da5 (diff) | |
parent | 8c25bcdb8484e1cfd0a2d14398a3423d2df9b4c5 (diff) |
Merge pull request #72078 from bitsawer/fix_optimize_vertices
Fix range loop iteration regressions
Diffstat (limited to 'core')
-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; |