if the incremental builder failed, simply rollback instead of continuing

This commit is contained in:
Sébastien Loriot 2015-02-26 08:51:00 +01:00
parent c3124cc572
commit 073fdd0fd7
1 changed files with 2 additions and 0 deletions

View File

@ -824,6 +824,7 @@ protected:
if(skip_volumes-- <= 0)
scd.visit_shell_objects(SFace_const_handle(c->shells_begin()),V);
B.end_surface();
if ( B.error() ) B.rollback();
}
};
@ -977,6 +978,7 @@ protected:
Visitor V(B,omit_vertex, scd,VI);
scd.visit_shell_objects(sf, V);
B.end_surface();
if ( B.error() ) B.rollback();
}
};