From 864df475bc48eaa244c653791ff3d2140430a1a6 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 2 Feb 2010 11:48:32 +0000 Subject: [PATCH] Fix of issue 0020679: EDF 1264 BLSURFPLUGIN: Crash of Salome during mesh computation, locale issue --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.39.2