From 2115232a16d81d28dbdb8042ed8e9316858514c6 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Fri, 4 Sep 2020 20:59:13 +0200 Subject: Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix No functional changes --- source/blender/io/collada/MeshImporter.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/io/collada/MeshImporter.cpp') diff --git a/source/blender/io/collada/MeshImporter.cpp b/source/blender/io/collada/MeshImporter.cpp index a0d0507d472..3d9c4d3ad6f 100644 --- a/source/blender/io/collada/MeshImporter.cpp +++ b/source/blender/io/collada/MeshImporter.cpp @@ -228,16 +228,16 @@ bool MeshImporter::set_poly_indices( return broken_loop; } -void MeshImporter::set_vcol(MLoopCol *mlc, +void MeshImporter::set_vcol(MLoopCol *mloopcol, VCOLDataWrapper &vob, int loop_index, COLLADAFW::IndexList &index_list, int count) { int index; - for (index = 0; index < count; index++, mlc++) { + for (index = 0; index < count; index++, mloopcol++) { int v_index = index_list.getIndex(index + loop_index); - vob.get_vcol(v_index, mlc); + vob.get_vcol(v_index, mloopcol); } } @@ -891,10 +891,10 @@ Object *MeshImporter::get_object_by_geom_uid(const COLLADAFW::UniqueId &geom_uid return NULL; } -Mesh *MeshImporter::get_mesh_by_geom_uid(const COLLADAFW::UniqueId &mesh_uid) +Mesh *MeshImporter::get_mesh_by_geom_uid(const COLLADAFW::UniqueId &geom_uid) { - if (uid_mesh_map.find(mesh_uid) != uid_mesh_map.end()) { - return uid_mesh_map[mesh_uid]; + if (uid_mesh_map.find(geom_uid) != uid_mesh_map.end()) { + return uid_mesh_map[geom_uid]; } return NULL; } -- cgit v1.2.3