From: dmv Date: Tue, 11 May 2010 13:51:12 +0000 (+0000) Subject: 0020865: EDF 1405 GEOM: Impossible to create point in sketcher with LANG=fr_FR.UTF-8 X-Git-Tag: V5_1_4rc2~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a6bdfbd985188df0aa02684d2bec7053053ed3ec;p=modules%2Fgeom.git 0020865: EDF 1405 GEOM: Impossible to create point in sketcher with LANG=fr_FR.UTF-8 --- diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.cxx b/src/EntityGUI/EntityGUI_SketcherDlg.cxx index d1a4ff9e8..377793d66 100644 --- a/src/EntityGUI/EntityGUI_SketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_SketcherDlg.cxx @@ -57,6 +57,8 @@ #include +#include + //================================================================================= // 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() );