Added faceface updatetopology in Sphere, otherwise it crashes!
This commit is contained in:
parent
07fd44359d
commit
1c65575000
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue