forked from mirror/openmw-tes3mp
don't use cache
This commit is contained in:
parent
f49401bb53
commit
47d9fae89f
1 changed files with 3 additions and 2 deletions
|
@ -48,7 +48,8 @@ namespace MWRender
|
|||
mHeight = cellSize*(mMaxY-mMinY+1);
|
||||
|
||||
|
||||
if (!boost::filesystem::exists(mCacheDir + "/GlobalMap.png"))
|
||||
//if (!boost::filesystem::exists(mCacheDir + "/GlobalMap.png"))
|
||||
if (1)
|
||||
{
|
||||
Ogre::Image image;
|
||||
|
||||
|
@ -151,7 +152,7 @@ namespace MWRender
|
|||
|
||||
image.loadDynamicImage (data, mWidth, mHeight, Ogre::PF_B8G8R8);
|
||||
|
||||
image.save (mCacheDir + "/GlobalMap.png");
|
||||
//image.save (mCacheDir + "/GlobalMap.png");
|
||||
|
||||
tex = Ogre::TextureManager::getSingleton ().createManual ("GlobalMap.png", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
|
||||
Ogre::TEX_TYPE_2D, mWidth, mHeight, 0, Ogre::PF_B8G8R8, Ogre::TU_DEFAULT);
|
||||
|
|
Loading…
Reference in a new issue