From cf916bafb6b073fd65dcf2ce4028f9d3b2e8393b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 15 Feb 2016 13:27:50 +0100 Subject: [PATCH] add missing call to invalidate OpenGL buffer after refinement and fairing --- Polyhedron/demo/Polyhedron/Plugins/PMP/Fairing_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Polyhedron/demo/Polyhedron/Plugins/PMP/Fairing_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/PMP/Fairing_plugin.cpp index be5c8a32a45..89e5a885f55 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/PMP/Fairing_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/PMP/Fairing_plugin.cpp @@ -92,6 +92,7 @@ public Q_SLOTS: selection_item->selected_vertices, CGAL::Polygon_mesh_processing::parameters::fairing_continuity(continuity)); selection_item->changed_with_poly_item(); + selection_item->invalidateOpenGLBuffers(); QApplication::restoreOverrideCursor(); } @@ -116,6 +117,7 @@ public Q_SLOTS: selection_item->selected_facets.insert(*it); } selection_item->changed_with_poly_item(); + selection_item->invalidateOpenGLBuffers(); QApplication::restoreOverrideCursor(); }