From: ouv Date: Tue, 2 Feb 2010 11:48:32 +0000 (+0000) Subject: Fix of issue 0020679: EDF 1264 BLSURFPLUGIN: Crash of Salome during mesh computation... X-Git-Tag: V5_1_4a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=864df475bc48eaa244c653791ff3d2140430a1a6;p=plugins%2Fblsurfplugin.git Fix of issue 0020679: EDF 1264 BLSURFPLUGIN: Crash of Salome during mesh computation, locale issue --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index b50edfe..24941f4 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -34,6 +34,8 @@ extern "C"{ #include +#include + #include #include #include @@ -847,6 +849,9 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape) // MESSAGE(" the shape is UNKNOWN"); // }; + // Fix problem with locales + Kernel_Utils::Localizer loc; + /* create a distene context (generic object) */ status_t status = STATUS_ERROR;