From c21c89b35c6a6aa0bd828145035d535ca2ac511f Mon Sep 17 00:00:00 2001 From: Marco Callieri Date: Thu, 10 Nov 2016 09:46:49 +0100 Subject: [PATCH] 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. --- vcg/complex/algorithms/symmetry.h | 1 + 1 file changed, 1 insertion(+) diff --git a/vcg/complex/algorithms/symmetry.h b/vcg/complex/algorithms/symmetry.h index ec147268..f5f4d890 100644 --- a/vcg/complex/algorithms/symmetry.h +++ b/vcg/complex/algorithms/symmetry.h @@ -226,6 +226,7 @@ public: //create the sphere vcg::tri::Sphere(*sphere,SubDirections); vcg::tri::UpdateBounding::Box(*sphere); + sphere->face.EnableMark(); ///initialize grid GridSph.Set(sphere->face.begin(),sphere->face.end());