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:
parent
c74c894235
commit
46f910e9f4
@ -68,7 +68,7 @@ public:
|
||||
camera->addChild(textGeode.get());
|
||||
camera->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
|
||||
#endif
|
||||
return text;
|
||||
return textGeode;
|
||||
}
|
||||
|
||||
void updateText()
|
||||
|
Loading…
Reference in New Issue
Block a user