forked from mirror/openmw-tes3mp
Change ordering of LocalMap nodes to make sure they are traversed before the CompositeMapRenderer.
This commit is contained in:
parent
0756fc4ae6
commit
c684860e3b
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ void LocalMap::setupRenderToTexture(osg::ref_ptr<osg::Camera> camera, int x, int
|
|||
camera->attach(osg::Camera::COLOR_BUFFER, texture);
|
||||
|
||||
camera->addChild(mSceneRoot);
|
||||
mRoot->addChild(camera);
|
||||
mRoot->insertChild(0, camera);
|
||||
mActiveCameras.push_back(camera);
|
||||
|
||||
MapSegment& segment = mSegments[std::make_pair(x, y)];
|
||||
|
|
Loading…
Reference in a new issue