Salome HOME
#878 Segmentation fault when setting distance on the two same points
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintLength.cpp
index bf519342b2a2de8f74f28683e25e6265a73ecf89..06d854d175ba7a4724bf8ef920249746be45ceea 100644 (file)
@@ -37,6 +37,8 @@ void SketchSolver_ConstraintLength::process()
 void SketchSolver_ConstraintLength::adjustConstraint()
 {
   // No need to store the line, which length is constrained
-  myFeatureMap.clear();
+  // Upd: The line need to be stored to check that constraint
+  //      is changed/unchanged during modifications in GUI
+  //myFeatureMap.clear();
 }