From: rnv Date: Wed, 29 Aug 2018 11:46:47 +0000 (+0300) Subject: SALOME 9.1.0 Windows version X-Git-Tag: V9_1_0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Frnv%2Fwindows_9.1.0;p=plugins%2Fnetgenplugin.git SALOME 9.1.0 Windows version --- diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index d097945..877b0a9 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -2398,7 +2398,7 @@ int NETGENPlugin_Mesher::FillSMesh(const netgen::OCCGeometry& occgeo, for ( ngID = i = 1; i < nodeVecSize; ++ngID, ++i ) { gp_Pnt ngPnt( NGPOINT_COORDS( ngMesh.Point( ngID ))); - gp_Pnt node ( SMESH_NodeXYZ ( nodeVec[ i ])); + gp_Pnt node ( SMESH_NodeXYZ (nodeVec_ACCESS(i) )); if ( ngPnt.SquareDistance( node ) < eps ) { nodeVec[ ngID ] = nodeVec[ i ]; diff --git a/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx b/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx index 03141b1..0baf5f7 100644 --- a/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx @@ -49,15 +49,18 @@ using namespace nglib; -// namespace netgen -// { -// #if defined(NETGEN_V5) && defined(WIN32) -// DLL_HEADER -// #endif -// extern STLParameters stlparam; -// } +namespace netgen { + +#if defined(NETGEN_V5) && defined(WIN32) + DLL_HEADER + #endif + extern STLParameters stlparam; +} namespace nglib { +#if defined(NETGEN_V5) && defined(WIN32) + DLL_HEADER +#endif extern netgen::Array > readedges; }