Updated to reflect the naming changes in updateNormals
This commit is contained in:
parent
a40bb0ff93
commit
1f8baf9131
wrap/io_trimesh
|
@ -418,7 +418,7 @@ namespace io {
|
||||||
if(importparams.anglecull)
|
if(importparams.anglecull)
|
||||||
{
|
{
|
||||||
if(cb) cb(85,"PTX Mesh Loading - remove steep faces");
|
if(cb) cb(85,"PTX Mesh Loading - remove steep faces");
|
||||||
tri::UpdateNormals<OpenMeshType>::PerFaceNormalized(m);
|
tri::UpdateNormal<OpenMeshType>::PerFaceNormalized(m);
|
||||||
for(FaceIterator fi = m.face.begin(); fi != m.face.end(); fi++)
|
for(FaceIterator fi = m.face.begin(); fi != m.face.end(); fi++)
|
||||||
if(!(*fi).IsD())
|
if(!(*fi).IsD())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue