From 5ffb740120893e82bd8ac4915f3f207b45e0c1df Mon Sep 17 00:00:00 2001 From: cc9cii Date: Wed, 1 Oct 2014 07:19:15 +1000 Subject: [PATCH] Fix silly mistake (thanks scrawl for picking that up) --- apps/opencs/view/render/pagedworldspacewidget.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/opencs/view/render/pagedworldspacewidget.cpp b/apps/opencs/view/render/pagedworldspacewidget.cpp index a1b6e855e..903a47886 100644 --- a/apps/opencs/view/render/pagedworldspacewidget.cpp +++ b/apps/opencs/view/render/pagedworldspacewidget.cpp @@ -138,7 +138,10 @@ bool CSVRender::PagedWorldspaceWidget::adjustCells() } 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->setMaterial(material); mySet->setRenderQueueGroup(mySet->getRenderQueueGroup() + 1); // render the bilboard on top