mirror of https://github.com/CGAL/cgal
Merge pull request #5064 from maxGimeno/Demo-Fixes-maxGimeno
Polyhedron_demo : Fix Edit_box->export_to_facegraph()
This commit is contained in:
commit
0f92273687
|
|
@ -145,8 +145,9 @@ void Edit_box_plugin::exportToPoly()
|
|||
points[6],
|
||||
*poly_item->polyhedron());
|
||||
CGAL::Polygon_mesh_processing::triangulate_faces(*poly_item->polyhedron());
|
||||
item->setName("Edit box");
|
||||
item->setRenderingMode(FlatPlusEdges);
|
||||
poly_item->setName("Edit box");
|
||||
poly_item->setRenderingMode(FlatPlusEdges);
|
||||
poly_item->invalidateOpenGLBuffers();
|
||||
scene->replaceItem(id, poly_item, true);
|
||||
item->deleteLater();
|
||||
actionBbox->setEnabled(true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue