Skip to content

Commit

Permalink
Mod: handle removed headers in PCH files for OCC 7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed May 21, 2022
1 parent f5cf112 commit 469c36e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 21 deletions.
4 changes: 0 additions & 4 deletions src/Mod/Drawing/App/PreCompiled.h
Expand Up @@ -174,13 +174,9 @@
#include <gp_Torus.hxx>
#include <gp_Vec.hxx>
#include <gp_Vec2d.hxx>
#include <MMgt_TShared.hxx>
#include <Precision.hxx>
#include <Quantity_Factor.hxx>
#include <Quantity_Length.hxx>
#include <Quantity_NameOfColor.hxx>
#include <Quantity_PhysicalQuantity.hxx>
#include <Quantity_PlaneAngle.hxx>
#include <Quantity_TypeOfColor.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_CString.hxx>
Expand Down
5 changes: 4 additions & 1 deletion src/Mod/Fem/App/PreCompiled.h
Expand Up @@ -119,7 +119,6 @@
#include <Bnd_Box.hxx>
#include <BRep_Tool.hxx>
#include <BRepAdaptor_Curve.hxx>
#include <BRepAdaptor_HSurface.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRepBndLib.hxx>
#include <BRepBuilderAPI_Copy.hxx>
Expand All @@ -143,6 +142,7 @@
#include <GProp_GProps.hxx>
#include <Precision.hxx>
#include <Standard_Real.hxx>
#include <Standard_Version.hxx>
#include <ShapeAnalysis_ShapeTolerance.hxx>
#include <TColgp_Array2OfPnt.hxx>
#include <TopoDS.hxx>
Expand All @@ -151,6 +151,9 @@
#include <TopoDS_Solid.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Vertex.hxx>
#if OCC_VERSION_HEX < 0x070600
#include <BRepAdaptor_HSurface.hxx>
#endif

// VTK
#include <vtkFieldData.h>
Expand Down
4 changes: 0 additions & 4 deletions src/Mod/MeshPart/App/PreCompiled.h
Expand Up @@ -185,13 +185,9 @@
#include <gp_Torus.hxx>
#include <gp_Vec.hxx>
#include <gp_Vec2d.hxx>
#include <MMgt_TShared.hxx>
#include <Precision.hxx>
#include <Quantity_Factor.hxx>
#include <Quantity_Length.hxx>
#include <Quantity_NameOfColor.hxx>
#include <Quantity_PhysicalQuantity.hxx>
#include <Quantity_PlaneAngle.hxx>
#include <Quantity_TypeOfColor.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_CString.hxx>
Expand Down
20 changes: 8 additions & 12 deletions src/Mod/Part/App/OpenCascadeAll.h
Expand Up @@ -188,12 +188,18 @@
#if OCC_VERSION_HEX >= 0x060600
#include <BRepClass3d.hxx>
#endif
#if OCC_VERSION_HEX < 0x070600
#include <Adaptor3d_HCurve.hxx>
#include <Adaptor3d_HCurveOnSurface.hxx>
#include <BRepAdaptor_HCurve.hxx>
#include <BRepAdaptor_HCompCurve.hxx>
#include <Geom2dAdaptor_HCurve.hxx>
#include <GeomAdaptor_HCurve.hxx>
#endif

#include <BRepAdaptor_CompCurve.hxx>
#include <BRepAdaptor_Curve.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRepAdaptor_HCurve.hxx>
#include <BRepAdaptor_HCompCurve.hxx>
#include <BRepAlgoAPI_Common.hxx>
#include <BRepAlgoAPI_Cut.hxx>
#include <BRepAlgoAPI_Fuse.hxx>
Expand Down Expand Up @@ -325,7 +331,6 @@
#include <Geom2d_Line.hxx>
#include <Geom2d_TrimmedCurve.hxx>
#include <Geom2dAdaptor_Curve.hxx>
#include <Geom2dAdaptor_HCurve.hxx>
#include <Geom2dAPI_ExtremaCurveCurve.hxx>
#include <Geom2dAPI_InterCurveCurve.hxx>
#include <Geom2dAPI_Interpolate.hxx>
Expand Down Expand Up @@ -363,7 +368,6 @@
#include <Geom_Plane.hxx>
#include <Geom_ToroidalSurface.hxx>
#include <GeomAdaptor.hxx>
#include <GeomAdaptor_HCurve.hxx>
#include <GeomAdaptor_Surface.hxx>
#include <GeomAPI.hxx>
#include <GeomAPI_ExtremaCurveCurve.hxx>
Expand Down Expand Up @@ -432,10 +436,6 @@
#include <gp_Vec2d.hxx>
#include <gp_Quaternion.hxx>

// Adaptors
#include <Adaptor3d_HCurve.hxx>
#include <Adaptor3d_HCurveOnSurface.hxx>

#include <Approx_Curve3d.hxx>

#include <BSplCLib.hxx>
Expand All @@ -447,15 +447,11 @@
#include <HLRAppli_ReflectLines.hxx>
#include <IntTools_FClass2d.hxx>
#include <Law_Constant.hxx>
#include <MMgt_TShared.hxx>
#include <Message_MsgFile.hxx>
#include <Precision.hxx>
#include <UnitsAPI.hxx>
#include <Quantity_Factor.hxx>
#include <Quantity_Length.hxx>
#include <Quantity_NameOfColor.hxx>
#include <Quantity_PhysicalQuantity.hxx>
#include <Quantity_PlaneAngle.hxx>
#include <Quantity_TypeOfColor.hxx>

// Shape
Expand Down

0 comments on commit 469c36e

Please sign in to comment.