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:
parent
d918d62c4c
commit
c21c89b35c
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue