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

Method getPyObject

src/Gui/ViewProviderDocumentObject.cpp:569–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569PyObject* ViewProviderDocumentObject::getPyObject()
570{
571 requireMainThread("Gui::ViewProviderDocumentObject::getPyObject");
572 if (!pyViewObject) {
573 pyViewObject = new ViewProviderDocumentObjectPy(this);
574 }
575 pyViewObject->IncRef();
576 return pyViewObject;
577}
578
579bool ViewProviderDocumentObject::canDropObjectEx(
580 App::DocumentObject* obj,

Callers

nothing calls this directly

Calls 1

requireMainThreadFunction · 0.85

Tested by

no test coverage detected