Added faceface updatetopology in Sphere, otherwise it crashes!

This commit is contained in:
matteodelle 2009-01-16 08:05:33 +00:00
parent 07fd44359d
commit 1c65575000
1 changed files with 1 additions and 0 deletions

View File

@ -415,6 +415,7 @@ void Sphere(MeshType &in, const int subdiv = 3 )
vi->P().Normalize();
tri::UpdateFlags<MeshType>::FaceBorderFromNone(in);
tri::UpdateTopology<MyMesh>::FaceFace(in);
size_t lastsize = 0;
for(int i = 0 ; i < subdiv; ++i)