Salome HOME
0020902: EDF 1416 GUI: Problems in the Notebook and with Setcolor when switching... V5_1_4rc2
authorvsr <vsr@opencascade.com>
Mon, 7 Jun 2010 06:18:28 +0000 (06:18 +0000)
committervsr <vsr@opencascade.com>
Mon, 7 Jun 2010 06:18:28 +0000 (06:18 +0000)
src/GEOM/GEOM_Engine.cxx

index 11679422afd43455166e613444990d8da862139a..60a5e7da762479f8a900ad8b330867ae1f73b059 100644 (file)
@@ -35,6 +35,8 @@
 
 #include "utilities.h"
 
+#include <Basics_Utils.hxx>
+
 #include <TDF_Tool.hxx>
 #include <TDF_Data.hxx>
 #include <TDF_Reference.hxx>
@@ -528,6 +530,9 @@ TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID,
                                                 bool isPublished,
                                                 bool& aValidScript)
 {
+  // Set "C" numeric locale to save numbers correctly
+  Kernel_Utils::Localizer loc;
+
   TCollection_AsciiString aScript;
   Handle(TDocStd_Document) aDoc = GetDocument(theDocID);