Merge pull request #784 from sloriot/Polyhedron_demo-fix_fairing_plugin_update

Fairing plugin: invalidate OpenGL buffers action
This commit is contained in:
Sebastien Loriot 2016-02-16 16:01:47 +01:00
commit ed2f32f75d
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}