Part: fix build failures with OCC >= 7.6
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <BRepOffsetAPI_MakeOffset.hxx>
|
||||
#include <GeomAbs_CurveType.hxx>
|
||||
#include <Standard_Version.hxx>
|
||||
|
||||
|
||||
namespace Part {
|
||||
@@ -56,7 +57,11 @@ public:
|
||||
void Perform (const Standard_Real Offset, const Standard_Real Alt = 0.0);
|
||||
|
||||
//! Builds the resulting shape (redefined from MakeShape).
|
||||
#if OCC_VERSION_HEX >= 0x070600
|
||||
void Build(const Message_ProgressRange& theRange = Message_ProgressRange()) override;
|
||||
#else
|
||||
void Build() override;
|
||||
#endif
|
||||
|
||||
//! Initializes the algorithm to construct parallels to the spine Spine.
|
||||
//! Join defines the type of parallel generated by the
|
||||
|
||||
Reference in New Issue
Block a user