]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Fix of issue 0020679: EDF 1264 BLSURFPLUGIN: Crash of Salome during mesh computation...
authorouv <ouv@opencascade.com>
Tue, 2 Feb 2010 11:48:32 +0000 (11:48 +0000)
committerouv <ouv@opencascade.com>
Tue, 2 Feb 2010 11:48:32 +0000 (11:48 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index b50edfee378fae8c5b9cfbd0a6d049a534fbb108..24941f4d7d2ecbb5e8d18b9a5b12bc8a473bd97e 100644 (file)
@@ -34,6 +34,8 @@ extern "C"{
 #include <structmember.h>
 
 
+#include <Basics_Utils.hxx>
+
 #include <SMESH_Gen.hxx>
 #include <SMESH_Mesh.hxx>
 #include <SMESH_ControlsDef.hxx>
@@ -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;