From: gdd Date: Thu, 30 Aug 2012 14:34:37 +0000 (+0000) Subject: Fix compilation error due to recent changes in SMESH X-Git-Tag: V6_6_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c0a525b94a70aa74b67f9463b479cce635444c2a;p=plugins%2Fhexablockplugin.git Fix compilation error due to recent changes in SMESH --- diff --git a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.hxx b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.hxx index aac1fa8..1c9a623 100755 --- a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.hxx +++ b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.hxx @@ -25,7 +25,7 @@ #define __SMESH_HexaFromSkin_3D_HXX__ #include "SMESH_StdMeshers.hxx" -#include "SMESH_3D_Algo.hxx" +#include "SMESH_Algo.hxx" // from HexaBlocks #include "hexa_base.hxx" diff --git a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.cxx b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.cxx index 9c5fdca..227d77b 100755 --- a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.cxx +++ b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.cxx @@ -34,6 +34,7 @@ #include "SMESH_Gen.hxx" #include "SMESH_Mesh.hxx" +#include "SMESH_subMesh.hxx" #include "SMESH_MesherHelper.hxx" #include "HEXABLOCKPlugin_mesh.hxx" @@ -151,6 +152,7 @@ bool HEXABLOCKPlugin_HEXABLOCK::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape& default: return( Compute3D(theMesh) ); }; } + return false; } //============================================================================= diff --git a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.hxx b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.hxx index 5817a42..2bef9c9 100755 --- a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.hxx +++ b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.hxx @@ -27,7 +27,7 @@ #ifndef _HEXABLOCKPlugin_HEXABLOCK_HXX_ #define _HEXABLOCKPlugin_HEXABLOCK_HXX_ -#include "SMESH_3D_Algo.hxx" +#include "SMESH_Algo.hxx" #include "SMESH_Mesh.hxx" class SMESH_Mesh;