Fix various Py::Object leak
This commit is contained in:
@@ -45,7 +45,7 @@ std::string ViewProviderLinkPy::representation(void) const
|
||||
}
|
||||
|
||||
Py::Object ViewProviderLinkPy::getDraggingPlacement() const {
|
||||
return Py::Object(new Base::PlacementPy(new Base::Placement(
|
||||
return Py::asObject(new Base::PlacementPy(new Base::Placement(
|
||||
getViewProviderLinkPtr()->currentDraggingPlacement())));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user