void Model_Session::closeAll()
{
Model_Application::getApplication()->deleteAllDocuments();
+ static const Events_ID aDocChangeEvent = Events_Loop::eventByName(EVENT_DOCUMENT_CHANGED);
+ static std::shared_ptr<Events_Message> aMsg(new Events_Message(aDocChangeEvent));
+ Events_Loop::loop()->send(aMsg);
+ Events_Loop::loop()->flush(aDocChangeEvent);
}
void Model_Session::startOperation(const std::string& theId, const bool theAttachedToNested)
if (!aCases.empty()) {
validators()->registerCase(aMsgAttr->featureId(), aMsgAttr->attributeId(), aCases);
}
- if (aMsgAttr->isGeometricalSelection()) {
- validators()->registerGeometricalSelection(aMsgAttr->featureId(),
- aMsgAttr->attributeId());
- }
}
}
// plugins information was started to load, so, it will be loaded