| 87 | } |
| 88 | |
| 89 | void ViewProviderPathShape::updateData(const App::Property* prop) |
| 90 | { |
| 91 | PathGui::ViewProviderPath::updateData(prop); |
| 92 | if (prop->isDerivedFrom<App::PropertyLinkList>()) { |
| 93 | std::vector<App::DocumentObject*> pShapes |
| 94 | = static_cast<const App::PropertyLinkList*>(prop)->getValues(); |
| 95 | for (std::vector<App::DocumentObject*>::iterator it = pShapes.begin(); it != pShapes.end(); |
| 96 | ++it) { |
| 97 | if (*it) { |
| 98 | Gui::Application::Instance->hideViewProvider(*it); |
| 99 | } |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | bool ViewProviderPathShape::onDelete(const std::vector<std::string>&) |
| 105 | { |
nothing calls this directly
no test coverage detected