B.Add(result,itr.Value().Oriented(orient));
}
}
- result.Closed (BRep_Tool::IsClosed(result));
+ // Assign "Closed" flag for Wires and Shells only
+ if (result.ShapeType() == TopAbs_WIRE || result.ShapeType() == TopAbs_SHELL)
+ result.Closed (BRep_Tool::IsClosed(result));
myMap(S).Append(result);
}
else {