From a6bdfbd985188df0aa02684d2bec7053053ed3ec Mon Sep 17 00:00:00 2001 From: dmv Date: Tue, 11 May 2010 13:51:12 +0000 Subject: [PATCH] 0020865: EDF 1405 GEOM: Impossible to create point in sketcher with LANG=fr_FR.UTF-8 --- src/EntityGUI/EntityGUI_SketcherDlg.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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() ); -- 2.39.2