1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 13:20:35 +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);
}