From cd4ec3d9f2f0c86ce9188e1ccbaa8e10ef5f9b23 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 5 Sep 2012 09:23:09 +0000 Subject: [PATCH] As OCCT issue 0022809 has been fixed, remove temporary workaround in the Cartesian 3d algorithm --- src/StdMeshers/StdMeshers_Cartesian_3D.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_Cartesian_3D.cxx b/src/StdMeshers/StdMeshers_Cartesian_3D.cxx index c1e57198f..6b0c68b93 100644 --- a/src/StdMeshers/StdMeshers_Cartesian_3D.cxx +++ b/src/StdMeshers/StdMeshers_Cartesian_3D.cxx @@ -35,6 +35,7 @@ #include "utilities.h" #include "Utils_ExceptHandlers.hxx" +#include #include #include @@ -85,7 +86,10 @@ using namespace std; //#define _MY_DEBUG_ -#define ELLIPSOLID_WORKAROUND // remove it as soon as http://tracker.dev.opencascade.org/view.php?id=22809 is solved +#if OCC_VERSION_LARGE <= 0x06050300 +// workaround it required only for OCCT6.5.3 and older (see OCC22809) +#define ELLIPSOLID_WORKAROUND +#endif #ifdef ELLIPSOLID_WORKAROUND #include -- 2.39.2