1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 11:15:36 +00:00

Fix exception when starting a new game

This commit is contained in:
scrawl 2013-07-15 20:37:36 +02:00
parent fd9cc1c282
commit daf9dca121

View file

@ -82,6 +82,7 @@ namespace MWRender
mCameraNode->getCreator()->destroySceneNode(mCameraNode);
}
mCameraNode = node;
mCamera->detachFromParent();
mCameraNode->attachObject(mCamera);
}