mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-23 06:41:08 +00:00
Do not recreate cache object
This commit is contained in:
parent
a17cb0ff0e
commit
7c7577a6bd
@ -15,7 +15,6 @@ namespace MWRender
|
|||||||
: GenericResourceManager<ESM::ExteriorCellLocation>(nullptr)
|
: GenericResourceManager<ESM::ExteriorCellLocation>(nullptr)
|
||||||
, mLoadFlags(loadFlags)
|
, mLoadFlags(loadFlags)
|
||||||
{
|
{
|
||||||
mCache = new CacheType;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
osg::ref_ptr<ESMTerrain::LandObject> LandManager::getLand(ESM::ExteriorCellLocation cellIndex)
|
osg::ref_ptr<ESMTerrain::LandObject> LandManager::getLand(ESM::ExteriorCellLocation cellIndex)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user