mirror of https://github.com/CGAL/cgal
if the incremental builder failed, simply rollback instead of continuing
This commit is contained in:
parent
c3124cc572
commit
073fdd0fd7
|
|
@ -824,6 +824,7 @@ protected:
|
||||||
if(skip_volumes-- <= 0)
|
if(skip_volumes-- <= 0)
|
||||||
scd.visit_shell_objects(SFace_const_handle(c->shells_begin()),V);
|
scd.visit_shell_objects(SFace_const_handle(c->shells_begin()),V);
|
||||||
B.end_surface();
|
B.end_surface();
|
||||||
|
if ( B.error() ) B.rollback();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
@ -977,6 +978,7 @@ protected:
|
||||||
Visitor V(B,omit_vertex, scd,VI);
|
Visitor V(B,omit_vertex, scd,VI);
|
||||||
scd.visit_shell_objects(sf, V);
|
scd.visit_shell_objects(sf, V);
|
||||||
B.end_surface();
|
B.end_surface();
|
||||||
|
if ( B.error() ) B.rollback();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue