Revert "Change ordering of LocalMap nodes to make sure they are traversed before the CompositeMapRenderer."

This reverts commit 7d72c70c93ee3c0cc3d00d37b22c339d0103cd19.
0.6.1
scrawl 8 years ago
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->addChild(mSceneRoot);
mRoot->insertChild(0, camera);
mRoot->addChild(camera);
mActiveCameras.push_back(camera);
MapSegment& segment = mSegments[std::make_pair(x, y)];

Loading…
Cancel
Save