Extensions: Revert few changes after restructuring

This commit is contained in:
Stefan Tröger
2016-09-21 18:47:04 +02:00
committed by wmayer
parent 2978ead384
commit 2420559431
10 changed files with 25 additions and 48 deletions

View File

@@ -298,7 +298,6 @@ FreeCADGui_subgraphFromObject(PyObject * /*self*/, PyObject *args)
PyObject* proxy = 0;
proxy = Base::Interpreter().createSWIGPointerObj("pivy.coin", type.c_str(), (void*)node, 1);
return Py::new_reference_to(Py::Object(proxy, true));
}
catch (const Base::Exception& e) {
if (node) node->unref();