- std::shared_ptr<Events_Message> aMsg = std::shared_ptr<Events_Message>(
- new Events_Message(Events_Loop::eventByName(EVENT_UPDATE_VIEWER_BLOCKED)));
- Events_Loop::loop()->send(aMsg);
-
- // the widgets of property panel should not process any events come from data mode
- // after abort clicked. Some signal such as redisplay/create influence on content
- // of the object browser and viewer context. Therefore it influence to the current
- // selection and if the active widget listens it, the attribute value is errnoneous
- // changed.
- if (myPropertyPanel)
- myPropertyPanel->cleanContent();
-
- SessionPtr aMgr = ModelAPI_Session::get();
- if (myIsEditing) {
- DocumentPtr aDoc = aMgr->activeDocument();
- bool aIsOp = aMgr->isOperation();
- if (!aIsOp)
- aMgr->startOperation();
- aDoc->setCurrentFeature(myCurrentFeature, true);
- if (!aIsOp)
- aMgr->finishOperation();
- myCurrentFeature = FeaturePtr();
- }
- abortOperation();
+ //std::shared_ptr<Events_Message> aMsg = std::shared_ptr<Events_Message>(
+ // new Events_Message(Events_Loop::eventByName(EVENT_UPDATE_VIEWER_BLOCKED)));
+ //Events_Loop::loop()->send(aMsg);