From 43313437dc98d0732c8f44dbdb145f4dc6644673 Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 21 Aug 2013 15:19:11 +0200 Subject: [PATCH] Fix composite map for cells without land data --- components/terrain/quadtreenode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/terrain/quadtreenode.cpp b/components/terrain/quadtreenode.cpp index ed6877f503..ed56738770 100644 --- a/components/terrain/quadtreenode.cpp +++ b/components/terrain/quadtreenode.cpp @@ -423,7 +423,7 @@ void QuadTreeNode::prepareForCompositeMap(Ogre::TRect area) std::vector 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)