Corrected small bug in Smooth VertexCoordPlanarLaplacian
This commit is contained in:
parent
4529d09e58
commit
3df00a5ffe
vcg/complex/algorithms
|
@ -318,6 +318,7 @@ static void VertexCoordPlanarLaplacian(MeshType &m, int step, float AngleThrRad
|
|||
|
||||
for(vi=m.vert.begin();vi!=m.vert.end();++vi)
|
||||
if(!(*vi).IsD() && TD[*vi].cnt>0 )
|
||||
if(!SmoothSelected || (*vi).IsS())
|
||||
(*vi).P()= TD[*vi].sum;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue