Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#878 Segmentation fault when setting distance on the two same points
[modules/shaper.git]
/
src
/
SketchSolver
/
SketchSolver_ConstraintLength.cpp
diff --git
a/src/SketchSolver/SketchSolver_ConstraintLength.cpp
b/src/SketchSolver/SketchSolver_ConstraintLength.cpp
index bf519342b2a2de8f74f28683e25e6265a73ecf89..06d854d175ba7a4724bf8ef920249746be45ceea 100644
(file)
--- a/
src/SketchSolver/SketchSolver_ConstraintLength.cpp
+++ b/
src/SketchSolver/SketchSolver_ConstraintLength.cpp
@@
-37,6
+37,8
@@
void SketchSolver_ConstraintLength::process()
void SketchSolver_ConstraintLength::adjustConstraint()
{
// No need to store the line, which length is constrained
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();
}
}