Salome HOME
0020865: EDF 1405 GEOM: Impossible to create point in sketcher with LANG=fr_FR.UTF-8
authordmv <dmv@opencascade.com>
Tue, 11 May 2010 13:51:12 +0000 (13:51 +0000)
committerdmv <dmv@opencascade.com>
Tue, 11 May 2010 13:51:12 +0000 (13:51 +0000)
src/EntityGUI/EntityGUI_SketcherDlg.cxx

index d1a4ff9e8ef76aa952068266c5347d210737500f..377793d667460ea69ca774309ea3e54bf196455c 100644 (file)
@@ -57,6 +57,8 @@
 
 #include <gp_Pln.hxx>
 
+#include <Basics_Utils.hxx>
+
 //=================================================================================
 // class    : EntityGUI_SketcherDlg()
 // purpose  : Constructs a EntityGUI_SketcherDlg which is a child of 'parent', with the
@@ -1406,6 +1408,9 @@ bool EntityGUI_SketcherDlg::execute( ObjectList& objects )
     //Test if the current point is the same as the last one
     TopoDS_Shape myShape1, myShape2;
 
+    // Set "C" numeric locale
+    Kernel_Utils::Localizer loc;
+
     //Last Shape
     QString Command1 = myCommand.join( "" );
     Sketcher_Profile aProfile1( Command1.toAscii() );