Salome HOME
Redesign of selection process
[modules/shaper.git] / src / XGUI / XGUI_Workshop.cpp
index 6df891cd4944d3b843f7e9dedcac036c3af12ac5..8ca4729a3f373e5765c1b5a69a41dba3a796862b 100644 (file)
@@ -416,6 +416,7 @@ void XGUI_Workshop::onFeatureRedisplayMsg(const boost::shared_ptr<ModelAPI_Objec
 {
   std::set<ObjectPtr> aObjects = theMsg->objects();
   std::set<ObjectPtr>::const_iterator aIt;
+  QIntList aModes;
   for (aIt = aObjects.begin(); aIt != aObjects.end(); ++aIt) {
     ObjectPtr aObj = (*aIt);
     if (!aObj->data() || !aObj->data()->isValid() || aObj->document()->isConcealed(aObj))
@@ -427,7 +428,7 @@ void XGUI_Workshop::onFeatureRedisplayMsg(const boost::shared_ptr<ModelAPI_Objec
           ModuleBase_Operation* aOperation = myOperationMgr->currentOperation();
           if (!aOperation->hasObject(aObj))
             if (!myDisplayer->isActive(aObj))
-              myDisplayer->activate(aObj);
+              myDisplayer->activate(aObj, aModes);
         }
       } else {
         if (myOperationMgr->hasOperation()) {