]> SALOME platform Git repositories - plugins/hexablockplugin.git/commitdiff
Salome HOME
Fix compilation error due to recent changes in SMESH
authorgdd <gdd>
Thu, 30 Aug 2012 14:34:37 +0000 (14:34 +0000)
committergdd <gdd>
Thu, 30 Aug 2012 14:34:37 +0000 (14:34 +0000)
src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.hxx
src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.cxx
src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK.hxx

index aac1fa806184709672a4e6defb76f384ecd47fdd..1c9a6232956349ed2138e04ecab6dab96f685644 100755 (executable)
@@ -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" 
index 9c5fdca2f75ce9da8ad418504b6b1d0f36351af9..227d77b3f865275e8bd1e67bca92739f7b436448 100755 (executable)
@@ -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;
 }
 
 //=============================================================================
index 5817a42e87456ef66f49b44f098adb5e9e3cb700..2bef9c9e05708d55d125652cc3281869e1380617 100755 (executable)
@@ -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;