|
|
@ -429,6 +429,10 @@ PyObject* pyVaultNode::AddNode(pyVaultNode* pynode, PyObject* cbObject, UInt32 c |
|
|
|
hsResult = hsFail; |
|
|
|
hsResult = hsFail; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PyObject* nodeRef = cb->fPyNodeRef = pyVaultNodeRef::New(fNode, pynode->fNode); |
|
|
|
|
|
|
|
Py_INCREF(nodeRef); // The callback steals the ref, according to Eric...
|
|
|
|
|
|
|
|
cb->SetNode(pynode->fNode); |
|
|
|
|
|
|
|
|
|
|
|
VaultAddChildNode(fNode->nodeId,
|
|
|
|
VaultAddChildNode(fNode->nodeId,
|
|
|
|
pynode->fNode->nodeId,
|
|
|
|
pynode->fNode->nodeId,
|
|
|
@ -437,8 +441,9 @@ PyObject* pyVaultNode::AddNode(pyVaultNode* pynode, PyObject* cbObject, UInt32 c |
|
|
|
cb |
|
|
|
cb |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// just return a None object
|
|
|
|
// Evil undocumented functionality that some fool
|
|
|
|
PYTHON_RETURN_NONE; |
|
|
|
// decided to use in xKI.py. Really???
|
|
|
|
|
|
|
|
return nodeRef; |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|