mirror of https://github.com/CGAL/cgal
C3t3 item: fix a segfault
This commit is contained in:
parent
8c65aff6c1
commit
9e19fd1d79
|
|
@ -2198,7 +2198,7 @@ void Scene_triangulation_3_item::computeIntersection()
|
||||||
void Scene_triangulation_3_item::set_cut_edge(bool b)
|
void Scene_triangulation_3_item::set_cut_edge(bool b)
|
||||||
{
|
{
|
||||||
d->cut_edges = b;
|
d->cut_edges = b;
|
||||||
d->intersection->setCutEdges(b);
|
if(d->intersection) d->intersection->setCutEdges(b);
|
||||||
Q_EMIT redraw();
|
Q_EMIT redraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue