added clear V flag at the beginning of ImportFromTriMesh function

This commit is contained in:
Nico Pietroni 2013-10-03 08:21:08 +00:00
parent dd7e419215
commit 97d14f173f
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ namespace tri {
**/
static void ImportFromTriMesh( PolyMeshType & pm, TriMeshType & tm){
vcg::tri::UpdateFlags<TriMeshType>::FaceClearV(tm);
// the vertices are the same, simply import them
int cnt = 0;
typename TriMeshType ::ConstVertexIterator tvi;