Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48a505
)
Correction for regression: create two lines, start Lenght, edit value, enter, Esc...
author
nds
<nds@opencascade.com>
Tue, 16 May 2017 12:39:26 +0000
(15:39 +0300)
committer
nds
<nds@opencascade.com>
Tue, 16 May 2017 12:39:26 +0000
(15:39 +0300)
src/PartSet/PartSet_OverconstraintListener.cpp
patch
|
blob
|
history
diff --git
a/src/PartSet/PartSet_OverconstraintListener.cpp
b/src/PartSet/PartSet_OverconstraintListener.cpp
index ac56f90dfbfa45e23eb47bde105a6c3fab9295d6..a9d88731423f6b19dfca95006ba1b5c0ebe46499 100755
(executable)
--- a/
src/PartSet/PartSet_OverconstraintListener.cpp
+++ b/
src/PartSet/PartSet_OverconstraintListener.cpp
@@
-171,7
+171,9
@@
void PartSet_OverconstraintListener::processEvent(
(anOperation);
if (aFOperation) {
FeaturePtr aFeature = aFOperation->feature();
- if (aFeature.get())
+ // data valid is necessary if the feature has been already deleted
+ // (e.g. Esc of Lenght if lenght value is modified)
+ if (aFeature.get() && aFeature->data()->isValid())
aCurrentFeatureName = aFeature->data()->name();
}
}