From: vsr Date: Wed, 5 Sep 2012 09:23:09 +0000 (+0000) Subject: As OCCT issue 0022809 has been fixed, remove temporary workaround in the Cartesian... X-Git-Tag: V6_6_0a1~139 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cd4ec3d9f2f0c86ce9188e1ccbaa8e10ef5f9b23;p=modules%2Fsmesh.git As OCCT issue 0022809 has been fixed, remove temporary workaround in the Cartesian 3d algorithm --- 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