mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
removed warnings
This commit is contained in:
parent
ce8f4b4f7e
commit
891b35dd0d
@ -37,6 +37,7 @@
|
||||
|
||||
#include <vcg/complex/trimesh/base.h>
|
||||
#include <vcg/complex/trimesh/update/topology.h>
|
||||
#include <vcg/complex/trimesh/update/normal.h>
|
||||
#include <vcg/complex/trimesh/update/flag.h>
|
||||
|
||||
#include <wrap/gl/trimesh.h>
|
||||
@ -511,11 +512,7 @@ class MeshModelState
|
||||
if(!(*vi).IsD()) (*vi).N()=(*ci);
|
||||
|
||||
//now reset the face normals
|
||||
for(int i = 0; i < m->cm.face.size(); ++i)
|
||||
{
|
||||
// computing face normal from position of face vertices
|
||||
vcg::face::ComputeNormalizedNormal(m->cm.face[i]);
|
||||
}
|
||||
vcg::tri::UpdateNormals<CMeshO>::PerFaceNormalized(m->cm);
|
||||
}
|
||||
|
||||
if(changeMask & MeshModel::MM_FACEFLAGSELECT)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user