From c0a525b94a70aa74b67f9463b479cce635444c2a Mon Sep 17 00:00:00 2001 From: gdd Date: Thu, 30 Aug 2012 14:34:37 +0000 Subject: [PATCH] Fix compilation error due to recent changes in SMESH --- src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.hxx | 2 +- src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.cxx | 2 ++ src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.hxx | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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; -- 2.39.2