You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Use const references where possible for List range iterators
This commit is contained in:
@@ -4746,7 +4746,7 @@ void NavigationRegion3DGizmoPlugin::redraw(EditorNode3DGizmo *p_gizmo) {
|
||||
Vector3 *tw = tmeshfaces.ptrw();
|
||||
int tidx = 0;
|
||||
|
||||
for (Face3 &f : faces) {
|
||||
for (const Face3 &f : faces) {
|
||||
for (int j = 0; j < 3; j++) {
|
||||
tw[tidx++] = f.vertex[j];
|
||||
_EdgeKey ek;
|
||||
|
||||
Reference in New Issue
Block a user