added clear V flag at the beginning of ImportFromTriMesh function
This commit is contained in:
parent
dd7e419215
commit
97d14f173f
|
@ -112,6 +112,7 @@ namespace tri {
|
||||||
**/
|
**/
|
||||||
static void ImportFromTriMesh( PolyMeshType & pm, TriMeshType & tm){
|
static void ImportFromTriMesh( PolyMeshType & pm, TriMeshType & tm){
|
||||||
|
|
||||||
|
vcg::tri::UpdateFlags<TriMeshType>::FaceClearV(tm);
|
||||||
// the vertices are the same, simply import them
|
// the vertices are the same, simply import them
|
||||||
int cnt = 0;
|
int cnt = 0;
|
||||||
typename TriMeshType ::ConstVertexIterator tvi;
|
typename TriMeshType ::ConstVertexIterator tvi;
|
||||||
|
|
Loading…
Reference in New Issue