mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-12 05:51:53 -04:00
Revert "Change ordering of LocalMap nodes to make sure they are traversed before the CompositeMapRenderer."
This reverts commit 7d72c70c93ee3c0cc3d00d37b22c339d0103cd19.
This commit is contained in:
parent
c921620ef3
commit
ec0b743123
@ -222,7 +222,7 @@ void LocalMap::setupRenderToTexture(osg::ref_ptr<osg::Camera> camera, int x, int
|
|||||||
camera->attach(osg::Camera::COLOR_BUFFER, texture);
|
camera->attach(osg::Camera::COLOR_BUFFER, texture);
|
||||||
|
|
||||||
camera->addChild(mSceneRoot);
|
camera->addChild(mSceneRoot);
|
||||||
mRoot->insertChild(0, camera);
|
mRoot->addChild(camera);
|
||||||
mActiveCameras.push_back(camera);
|
mActiveCameras.push_back(camera);
|
||||||
|
|
||||||
MapSegment& segment = mSegments[std::make_pair(x, y)];
|
MapSegment& segment = mSegments[std::make_pair(x, y)];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user