mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-01 02:05:36 +05:00
0020865: EDF 1405 GEOM: Impossible to create point in sketcher with LANG=fr_FR.UTF-8
This commit is contained in:
parent
88f9edb95b
commit
a6bdfbd985
@ -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() );
|
||||||
|
Loading…
Reference in New Issue
Block a user