From 9d0982d0e26f4b974cef7a2f668474f0fcc0f2a2 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 27 Jul 2022 19:19:50 +0200 Subject: [PATCH] Fix an another unused variable. --- modules/mesh_utils/simplify.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mesh_utils/simplify.h b/modules/mesh_utils/simplify.h index 8c2897902..32cc9e755 100644 --- a/modules/mesh_utils/simplify.h +++ b/modules/mesh_utils/simplify.h @@ -822,7 +822,7 @@ public: v.foldover = false; } - int border_vertex_count = 0; + //int border_vertex_count = 0; double border_min_x = DBL_MIN; double border_max_x = DBL_MAX; @@ -860,7 +860,7 @@ public: Vertex &vv = vertices[vids[j]]; vv.border = 1; - ++border_vertex_count; + //++border_vertex_count; if (_enable_smart_link) { if (vv.p.x < border_min_x)