コード例 #1
0
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
ファイル: dSolverNode.cpp プロジェクト: Belxjander/Asuna
void dSolverNode::postConstructor()
{
    //prevent deletion if all the rigidbodies are deleted
    setExistWithoutOutConnections(true);
}