Decreased vn when deleting a vertex
This commit is contained in:
parent
7c72709af7
commit
736ef2bc24
vcg/complex/trimesh/create
|
@ -204,6 +204,7 @@ class Pivot {
|
|||
if(v.IsD() || v.IsV() || v.IsB()) continue;
|
||||
if(seed(true, i)) return 1;
|
||||
v.SetD();
|
||||
--mesh.vn;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
@ -546,6 +547,7 @@ class Pivot {
|
|||
CVertex &v = mesh.vert[id];
|
||||
if(v.IsD() || v.IsV() || v.IsB()) continue;
|
||||
v.SetD();
|
||||
--mesh.vn;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue