mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Fix a crash. The removed functionality should NEVER have been there anyway.
This commit is contained in:
@ -436,11 +436,9 @@ PyObject* pyVaultNode::AddNode(pyVaultNode* pynode, PyObject* cbObject, UInt32 c
|
||||
(FVaultAddChildNodeCallback)_AddNodeCallback,
|
||||
cb
|
||||
);
|
||||
|
||||
PyObject * nodeRef = cb->fPyNodeRef = pyVaultNodeRef::New(fNode, pynode->fNode);
|
||||
Py_INCREF(nodeRef); // incref it, because we MUST return a new PyObject, and the callback "steals" the ref from us
|
||||
cb->SetNode(pynode->fNode);
|
||||
return nodeRef;
|
||||
|
||||
// just return a None object
|
||||
PYTHON_RETURN_NONE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user