symmetry: added FaceMark to plane-generating sphere

if the parametric sphere used for plane geenration does not have
FaceMark, the votation function throws an exception of missing
component.
This commit is contained in:
Marco Callieri 2016-11-10 09:46:49 +01:00
parent d918d62c4c
commit c21c89b35c
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ public:
//create the sphere
vcg::tri::Sphere<TriMeshType>(*sphere,SubDirections);
vcg::tri::UpdateBounding<TriMeshType>::Box(*sphere);
sphere->face.EnableMark();
///initialize grid
GridSph.Set(sphere->face.begin(),sphere->face.end());