]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_AttributeSelection.cpp
Salome HOME
Improvement of "Updater" algorithms
[modules/shaper.git] / src / Model / Model_AttributeSelection.cpp
index 9b0833a4a29605abce6b10cf259f6d95818ec7c4..f388abb9ea40bbde10328ad009319dbccdebf79d 100644 (file)
@@ -432,7 +432,11 @@ bool Model_AttributeSelection::update()
 
   if (aSelLab.IsAttribute(kPART_REF_ID)) { // it is reference to the part object
     std::shared_ptr<GeomAPI_Shape> aNoSelection;
-    return setInvalidIfFalse(aSelLab, selectPart(aContext, aNoSelection, true));
+    bool aResult = selectPart(aContext, aNoSelection, true);
+    if (aResult) {
+      owner()->data()->sendAttributeUpdated(this);
+    }
+    return setInvalidIfFalse(aSelLab, aResult);
   }
 
   if (aContext->groupName() == ModelAPI_ResultBody::group()) {