]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_Arc.cpp
Salome HOME
Issue #1677: Arc orientation lost after save/open
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Arc.cpp
index aa1d29096bd266db346a0ef9a0a738ff46c0f954..b4666ebca7f75e60b967030702ee6b60b2976fa5 100644 (file)
@@ -41,7 +41,7 @@
 
 const double tolerance = 1e-7;
 const double paramTolerance = 1.e-4;
-const double PI =3.141592653589793238463;
+const double PI = 3.141592653589793238463;
 
 namespace {
   static const std::string& POINT_ID(int theIndex)
@@ -68,7 +68,7 @@ SketchPlugin_Arc::SketchPlugin_Arc()
   myXEndBefore = 0;
   myYEndBefore = 0;
 
-  myParamBefore = 0;
+  myParamBefore = PI * 2.0;
 }
 
 void SketchPlugin_Arc::initDerivedClassAttributes()