MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / updateData

Method updateData

src/Mod/CAM/Gui/ViewProviderPathShape.cpp:89–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void 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
104bool ViewProviderPathShape::onDelete(const std::vector<std::string>&)
105{

Callers

nothing calls this directly

Calls 5

updateDataFunction · 0.85
hideViewProviderMethod · 0.80
getValuesMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected