mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 19:21:04 +00:00
Change ordering of LocalMap nodes to make sure they are traversed before the CompositeMapRenderer.
This commit is contained in:
parent
0756fc4ae6
commit
c684860e3b
@ -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…
x
Reference in New Issue
Block a user