Updated to reflect the naming changes in updateNormals
This commit is contained in:
parent
c059114300
commit
b974b6987d
|
@ -948,7 +948,7 @@ static void FaceNormalLaplacianVF(MeshType &m)
|
||||||
for(fi=m.face.begin();fi!=m.face.end();++fi)
|
for(fi=m.face.begin();fi!=m.face.end();++fi)
|
||||||
(*fi).N()=TDF[*fi].m;
|
(*fi).N()=TDF[*fi].m;
|
||||||
|
|
||||||
tri::UpdateNormals<MeshType>::NormalizeFace(m);
|
tri::UpdateNormals<MeshType>::NormalizePerFace(m);
|
||||||
|
|
||||||
TDF.Stop();
|
TDF.Stop();
|
||||||
}
|
}
|
||||||
|
@ -984,7 +984,7 @@ static void FaceNormalLaplacianFF(MeshType &m, int step=1, bool SmoothSelected=f
|
||||||
if(!SmoothSelected || (*fi).IsS())
|
if(!SmoothSelected || (*fi).IsS())
|
||||||
(*fi).N()=TDF[*fi].m;
|
(*fi).N()=TDF[*fi].m;
|
||||||
|
|
||||||
tri::UpdateNormals<MeshType>::NormalizeFace(m);
|
tri::UpdateNormals<MeshType>::NormalizePerFace(m);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue