mirror of https://github.com/CGAL/cgal
Fix for the bugfix for clearing the surface.
This commit is contained in:
parent
5cebd6e1de
commit
c2873d8d37
|
|
@ -228,7 +228,7 @@ private:
|
|||
void deinit_shape() { if( _shape != 0 ) { delete _shape; _shape = 0; } }
|
||||
|
||||
void clear_tree() { _tree.clear(); }
|
||||
void clear_surface() { _surface.clear(); deinit_shape(); }
|
||||
void clear_surface() { _shells.clear(); _surface.clear(); deinit_shape(); }
|
||||
|
||||
// SURFACE COLLECTION
|
||||
// Once a facet is added to the surface, it is marked as handled.
|
||||
|
|
|
|||
|
|
@ -470,8 +470,7 @@ template < class Gt, class FS, class Sh, class wA, class Ct >
|
|||
void
|
||||
Scale_space_surface_reconstruction_3<Gt,FS,Sh,wA,Ct>::
|
||||
collect_surface() {
|
||||
_surface.clear();
|
||||
_shells.clear();
|
||||
clear_surface();
|
||||
if( !has_shape() )
|
||||
construct_shape();
|
||||
collect_facets();
|
||||
|
|
|
|||
Loading…
Reference in New Issue