Fix composite map for cells without land data

actorid
scrawl 12 years ago
parent ce5ea6d7d2
commit 43313437dc

@ -423,7 +423,7 @@ void QuadTreeNode::prepareForCompositeMap(Ogre::TRect<float> area)
std::vector<std::string> layer; std::vector<std::string> layer;
layer.push_back("_land_default.dds"); layer.push_back("_land_default.dds");
matGen.setLayerList(layer); 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; return;
} }
if (mSize > 1) if (mSize > 1)

Loading…
Cancel
Save