mirror of https://github.com/CGAL/cgal
SEGFAULT Fix
- when deleting a Scene_edit_polyhedron_item WHILE manipulating a frame, a segfault occured because a bad manipulated frame was sent to the viewer. Calling setVisible(false) in the destructor of the item calls setManipulatedFrame(NULL) and fixex the problem.
This commit is contained in:
parent
ed4663ace5
commit
33e35f5d44
|
|
@ -110,6 +110,7 @@ Scene_edit_polyhedron_item::Scene_edit_polyhedron_item
|
|||
|
||||
Scene_edit_polyhedron_item::~Scene_edit_polyhedron_item()
|
||||
{
|
||||
setVisible(false);
|
||||
while(is_there_any_ctrl_vertices_group())
|
||||
{
|
||||
delete_ctrl_vertices_group(false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue