Add groundcover back into view

macos-builds-only-for-openmw
Bret Curtis 3 years ago
parent 5f1bf89369
commit f2bc179b0a

@ -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);

Loading…
Cancel
Save