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

Method hideViewProvider

src/Gui/Application.cpp:1727–1734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1725}
1726
1727void Application::hideViewProvider(const App::DocumentObject* obj)
1728{
1729 requireMainThread("Gui::Application::hideViewProvider");
1730 ViewProvider* vp = getViewProvider(obj);
1731 if (vp) {
1732 vp->hide();
1733 }
1734}
1735
1736Gui::ViewProvider* Application::getViewProvider(const App::DocumentObject* obj) const
1737{

Callers 9

sHideObjectMethod · 0.80
acceptMethod · 0.80
updateDataMethod · 0.80
updateDataMethod · 0.80
onFacesButtonToggledMethod · 0.80
updateDataMethod · 0.80
updateDataMethod · 0.80
dropObjectMethod · 0.80
activatedMethod · 0.80

Calls 3

requireMainThreadFunction · 0.85
getViewProviderFunction · 0.70
hideMethod · 0.45

Tested by

no test coverage detected