Salome HOME
Issue #18398(Tuleap): Restore visual properties change functionality
[modules/shaper.git] / src / Model / Model_Data.cpp
index 45798a12fc36a93d98911e2e3cc0cfa6b8c0a38f..e5641930e1b1253ab05e0a83f5afbd1ab8c34137 100644 (file)
@@ -431,7 +431,8 @@ void Model_Data::sendAttributeUpdated(ModelAPI_Attribute* theAttr)
     }
   } else {
     // trim: need to redisplay or set color in the python script
-    if (myObject && (theAttr->attributeType() == "Point2D" || theAttr->id() == "Color")) {
+    if (myObject && (theAttr->attributeType() == "Point2D" || theAttr->id() == "Color" ||
+      theAttr->id() == "Transparency" || theAttr->id() == "Deflection")) {
       static const Events_ID anEvent = Events_Loop::eventByName(EVENT_OBJECT_TO_REDISPLAY);
       ModelAPI_EventCreator::get()->sendUpdated(myObject, anEvent);
     }