0020865: EDF 1405 GEOM: Impossible to create point in sketcher with LANG=fr_FR.UTF-8

This commit is contained in:
dmv 2010-05-11 13:51:12 +00:00
parent 88f9edb95b
commit a6bdfbd985

View File

@ -57,6 +57,8 @@
#include <gp_Pln.hxx> #include <gp_Pln.hxx>
#include <Basics_Utils.hxx>
//================================================================================= //=================================================================================
// class : EntityGUI_SketcherDlg() // class : EntityGUI_SketcherDlg()
// purpose : Constructs a EntityGUI_SketcherDlg which is a child of 'parent', with the // 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 //Test if the current point is the same as the last one
TopoDS_Shape myShape1, myShape2; TopoDS_Shape myShape1, myShape2;
// Set "C" numeric locale
Kernel_Utils::Localizer loc;
//Last Shape //Last Shape
QString Command1 = myCommand.join( "" ); QString Command1 = myCommand.join( "" );
Sketcher_Profile aProfile1( Command1.toAscii() ); Sketcher_Profile aProfile1( Command1.toAscii() );