From 91868b2a48d4094668d16010664dfdefcae3792c Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 20 Feb 2014 10:33:09 +0100 Subject: [PATCH] + Fix for OCC 6.6 --- src/Mod/Part/Gui/TaskCheckGeometry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Part/Gui/TaskCheckGeometry.cpp b/src/Mod/Part/Gui/TaskCheckGeometry.cpp index a2ad0cd49f..5105b138cd 100644 --- a/src/Mod/Part/Gui/TaskCheckGeometry.cpp +++ b/src/Mod/Part/Gui/TaskCheckGeometry.cpp @@ -553,7 +553,9 @@ int TaskCheckGeometryResults::goBOPSingleCheck(const TopoDS_Shape& shapeIn, Resu BOPCheck.SelfInterMode() = true; BOPCheck.SmallEdgeMode() = true; BOPCheck.RebuildFaceMode() = true; +#if OCC_VERSION_HEX >= 0x060700 BOPCheck.ContinuityMode() = true; +#endif BOPCheck.Perform(); if (!BOPCheck.HasFaulty()) return 0;