| 498 | } |
| 499 | |
| 500 | Gui::MDIView* ViewProviderDocumentObject::getViewOfNode(SoNode* node) const |
| 501 | { |
| 502 | if (!pcObject) { |
| 503 | throw Base::RuntimeError("View provider detached"); |
| 504 | } |
| 505 | App::Document* pAppDoc = pcObject->getDocument(); |
| 506 | Gui::Document* pGuiDoc = Gui::Application::Instance->getDocument(pAppDoc); |
| 507 | return pGuiDoc->getViewOfNode(node); |
| 508 | } |
| 509 | |
| 510 | SoNode* ViewProviderDocumentObject::findFrontRootOfType(const SoType& type) const |
| 511 | { |
nothing calls this directly
no test coverage detected