1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

OSG 3.2 fixes

- return textGeode not text
This commit is contained in:
James Duley 2016-04-16 20:08:39 +01:00
parent c74c894235
commit 46f910e9f4

View File

@ -68,7 +68,7 @@ public:
camera->addChild(textGeode.get());
camera->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
#endif
return text;
return textGeode;
}
void updateText()