mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 21:41:04 +00:00
remove big white blob of space
This commit is contained in:
parent
4ea018c594
commit
fd61ebf6ab
@ -1517,7 +1517,7 @@ namespace MWRender
|
|||||||
{
|
{
|
||||||
if (!ptr.isInCell() || !ptr.getCell()->isExterior() || !mObjectPaging)
|
if (!ptr.isInCell() || !ptr.getCell()->isExterior() || !mObjectPaging)
|
||||||
return false;
|
return false;
|
||||||
if (mObjectPaging->enableObject(type, ptr.getCellRef().getRefNum(), ptr.getCellRef().getPosition().asVec3(), osg::Vec2i(ptr.getCell()->getCell()->getGridX(), ptr.getCell()->getCell()->getGridY()), enabled))
|
if (mObjectPaging->enableObject(type, ptr.getCellRef().getRefNum(), ptr.getCellRef().getPosition().asVec3(), osg::Vec2i(ptr.getCell()->getCell()->getGridX(), ptr.getCell()->getCell()->getGridY()), enabled))
|
||||||
{
|
{
|
||||||
mTerrain->rebuildViews();
|
mTerrain->rebuildViews();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user