]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Update.cpp
Salome HOME
Adaptation to a new ModelAPI architecture
[modules/shaper.git] / src / Model / Model_Update.cpp
index 28048664e146ce06f0ca7211688d565a4dc302e0..25ecbbeb5113919893e9da76eadec0bb41a177d0 100644 (file)
@@ -24,7 +24,7 @@ void Model_Update::processEvent(const Events_Message* theMessage)
 {
   const ModelAPI_ObjectUpdatedMessage* aMsg = 
     dynamic_cast<const ModelAPI_ObjectUpdatedMessage*>(theMessage);
-  myInitial = aMsg->features();
+  myInitial = aMsg->objects();
   // collect all documents involved into the update
   set<boost::shared_ptr<ModelAPI_Document> > aDocs;
   set<boost::shared_ptr<ModelAPI_Object> >::iterator aFIter = myInitial.begin();