1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Fix composite map for cells without land data

This commit is contained in:
scrawl 2013-08-21 15:19:11 +02:00
parent ce5ea6d7d2
commit 43313437dc

View File

@ -423,7 +423,7 @@ void QuadTreeNode::prepareForCompositeMap(Ogre::TRect<float> area)
std::vector<std::string> layer;
layer.push_back("_land_default.dds");
matGen.setLayerList(layer);
makeQuad(sceneMgr, area.left, area.top, area.right, area.bottom, matGen.generate(Ogre::MaterialPtr()));
makeQuad(sceneMgr, area.left, area.top, area.right, area.bottom, matGen.generateForCompositeMapRTT(Ogre::MaterialPtr()));
return;
}
if (mSize > 1)