removed references to OCC<7
This commit is contained in:
@@ -1250,16 +1250,6 @@ void Part::BRepBuilderAPI_RefineModel::Build()
|
||||
}
|
||||
}
|
||||
myShape = mkSolid.Solid();
|
||||
|
||||
#if OCC_VERSION_HEX <= 0x060700
|
||||
// With occ 6.7 and older it can happen that a solid is flipped.
|
||||
// In this case it must be reversed
|
||||
GProp_GProps props;
|
||||
BRepGProp::VolumeProperties(myShape, props);
|
||||
if (props.Mass() < 0) {
|
||||
myShape.Reverse();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else if (myShape.ShapeType() == TopAbs_SHELL) {
|
||||
const TopoDS_Shell& shell = TopoDS::Shell(myShape);
|
||||
|
||||
Reference in New Issue
Block a user