From a9abe3477240bea33ad9dcbc4f32d9f34c79cec3 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Wed, 2 Sep 2020 16:19:27 +0200 Subject: [PATCH] Update displayed number of isolated vertices after removal --- .../demo/Polyhedron/Plugins/PMP/Repair_polyhedron_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Polyhedron/demo/Polyhedron/Plugins/PMP/Repair_polyhedron_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/PMP/Repair_polyhedron_plugin.cpp index 59365eb0d0e..0e50beabcf1 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/PMP/Repair_polyhedron_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/PMP/Repair_polyhedron_plugin.cpp @@ -147,6 +147,7 @@ void Polyhedron_demo_repair_polyhedron_plugin::on_actionRemoveIsolatedVertices_t *poly_item->polyhedron()); CGAL::Three::Three::information(tr(" %1 isolated vertices have been removed.") .arg(nbv)); + poly_item->setNbIsolatedvertices(0); poly_item->invalidateOpenGLBuffers(); Q_EMIT poly_item->itemChanged(); }