void NuiMayaDeviceGrabber::postConstructor()
{
	// Avoid node to be auto deleted when all connection breaks
	setExistWithoutInConnections(true);
	setExistWithoutOutConnections(true);

	addCallbacks();

	SafeDelete(m_pCache);
	m_pCache = new NuiFrameBuffer();

	SafeDelete(m_pDevice);
	m_pDevice = new NuiRGBDDeviceController();
}
Пример #2
0
void dSolverNode::postConstructor()
{
    //prevent deletion if all the rigidbodies are deleted
    setExistWithoutOutConnections(true);
}