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
setDisplayed has to be called in order to synchronize internal state of the object
[modules/shaper.git]
/
src
/
Model
/
Model_FeatureValidator.cpp
diff --git
a/src/Model/Model_FeatureValidator.cpp
b/src/Model/Model_FeatureValidator.cpp
index a809abe461a5d1653edcd6a4e8e5b3af2c817858..8cec7f4b7849ef1cf6edccede77472c3a3b9c03a 100644
(file)
--- a/
src/Model/Model_FeatureValidator.cpp
+++ b/
src/Model/Model_FeatureValidator.cpp
@@
-23,7
+23,7
@@
bool Model_FeatureValidator::isValid(const std::shared_ptr<ModelAPI_Feature>& th
std::shared_ptr<ModelAPI_Data> aData = theFeature->data();
// "Action" features has no data, but still valid. e.g "Remove Part"
- if (!aData) {
+ if (!aData
->isValid()
) {
return theFeature->isAction();
}
if (!aData->isValid())