Salome HOME
Flush the redisplay signal by the document in remove feature; do not change the conce...
[modules/shaper.git] / src / Model / Model_Data.cpp
index 53444bb6d45845a17f5d46e7d783fec7fa0bb36f..e8c1a980ea406cd429c2d6f984c399216fba90ff 100644 (file)
@@ -266,11 +266,6 @@ void Model_Data::removeBackReference(FeaturePtr theFeature, std::string theAttrI
     return;
 
   myRefsToMe.erase(anAttribute);
-  // TODO: check whether the concealed should be thrown down to the false value
-  std::shared_ptr<ModelAPI_Result> aRes = 
-    std::dynamic_pointer_cast<ModelAPI_Result>(myObject);
-  if (aRes)
-    aRes->setIsConcealed(false);
 }
 
 void Model_Data::addBackReference(FeaturePtr theFeature, std::string theAttrID,