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:
parent
fd9cc1c282
commit
daf9dca121
@ -82,6 +82,7 @@ namespace MWRender
|
||||
mCameraNode->getCreator()->destroySceneNode(mCameraNode);
|
||||
}
|
||||
mCameraNode = node;
|
||||
mCamera->detachFromParent();
|
||||
mCameraNode->attachObject(mCamera);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user