1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 21:45:33 +00:00

Fix silly mistake (thanks scrawl for picking that up)

This commit is contained in:
cc9cii 2014-10-01 07:19:15 +10:00
parent a9745cce1e
commit 5ffb740120

View file

@ -138,7 +138,10 @@ bool CSVRender::PagedWorldspaceWidget::adjustCells()
} }
Ogre::BillboardSet* mySet = getSceneManager()->createBillboardSet("CellBillboardSet" + iter->getId(mWorldspace)); Ogre::BillboardSet* mySet = getSceneManager()->createBillboardSet("CellBillboardSet" + iter->getId(mWorldspace));
//Ogre::Billboard* myBillboard = mySet->createBillboard(Ogre::Vector3(0, 0, 0)); // FIXME: myBillboard is currently not used but will be required later
// for manipulating the billboard (e.g. mouse events). Ignore compiler
// warnings for now.
Ogre::Billboard* myBillboard = mySet->createBillboard(Ogre::Vector3(0, 0, 0));
mySet->setDefaultDimensions(4000, 2000); mySet->setDefaultDimensions(4000, 2000);
mySet->setMaterial(material); mySet->setMaterial(material);
mySet->setRenderQueueGroup(mySet->getRenderQueueGroup() + 1); // render the bilboard on top mySet->setRenderQueueGroup(mySet->getRenderQueueGroup() + 1); // render the bilboard on top