Always set soft/hard edges
The current state may not already be hard edge, depending on whether
normals were set.
@@ -1488,14 +1488,9 @@ OutputGeometryPart::computeMesh(
++itEdge,
++polygonVertexOffset)
{
- if(intArray[polygonVertexOffset])
- {
- // default is already hard edge
- }
- else
- {
- CHECK_MSTATUS(meshFn.setEdgeSmoothing(*itEdge, true));
- }
+ CHECK_MSTATUS(meshFn.setEdgeSmoothing(*itEdge,
+ !intArray[polygonVertexOffset]
+ ));
}
}
assert(polygonVertexOffset == intArray.size());
