mirror of https://github.com/CGAL/cgal
Guarded for unbounded faces
This commit is contained in:
parent
3b24522834
commit
6eb52494c6
|
|
@ -149,9 +149,11 @@ public:
|
|||
// std::cout << "add_face()\n";
|
||||
for(Inner_ccb_const_iterator it = face->inner_ccbs_begin(); it != face->inner_ccbs_end(); ++it) add_ccb(*it);
|
||||
|
||||
for(Outer_ccb_const_iterator it = face->outer_ccbs_begin(); it != face->outer_ccbs_end(); ++it) {
|
||||
add_ccb(*it);
|
||||
draw_region(*it);
|
||||
if (! face->is_unbounded()) {
|
||||
for(Outer_ccb_const_iterator it = face->outer_ccbs_begin(); it != face->outer_ccbs_end(); ++it) {
|
||||
add_ccb(*it);
|
||||
draw_region(*it);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue