mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
OSG 3.2 fixes
- return textGeode not text
This commit is contained in:
parent
c74c894235
commit
46f910e9f4
@ -68,7 +68,7 @@ public:
|
|||||||
camera->addChild(textGeode.get());
|
camera->addChild(textGeode.get());
|
||||||
camera->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
|
camera->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
|
||||||
#endif
|
#endif
|
||||||
return text;
|
return textGeode;
|
||||||
}
|
}
|
||||||
|
|
||||||
void updateText()
|
void updateText()
|
||||||
|
Loading…
Reference in New Issue
Block a user