1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-28 13:09:42 +00:00

Add groundcover back into view

This commit is contained in:
Bret Curtis 2021-11-09 10:20:32 +01:00
parent 5f1bf89369
commit f2bc179b0a

View file

@ -242,7 +242,6 @@ namespace MWRender
osg::ComputeBoundsVisitor cbv;
group->accept(cbv);
osg::BoundingBox box = cbv.getBoundingBox();
box = osg::BoundingBox(box._min+worldCenter, box._max+worldCenter);
group->addCullCallback(new ViewDistanceCallback(getViewDistance(), box));
group->setStateSet(mStateset);