From 4af170d9fb3479eabc0cc4d9a1b6adc4fba36cff Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 11 Apr 2022 15:10:28 +0200 Subject: [PATCH] Fix shadowed declaration. --- .../editor/utilities/mdr_ed_mesh_decompose.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mesh_data_resource/editor/utilities/mdr_ed_mesh_decompose.cpp b/modules/mesh_data_resource/editor/utilities/mdr_ed_mesh_decompose.cpp index 828776b6c..8cb364319 100644 --- a/modules/mesh_data_resource/editor/utilities/mdr_ed_mesh_decompose.cpp +++ b/modules/mesh_data_resource/editor/utilities/mdr_ed_mesh_decompose.cpp @@ -117,8 +117,8 @@ Array MDREDMeshDecompose::get_handle_edge_to_vertex_map(const Array &arrays) { PoolIntArray::Read r = etm.read(); bool found = false; - for (int i = 0; i < etm.size(); ++i) { - if (etm[i] == ei1) { + for (int ii = 0; ii < etm.size(); ++ii) { + if (etm[ii] == ei1) { found = true; break; }