Added Text::assignStateSet() and usage to make sure the correct StateSet is setup for each combination of backdrop settings

This commit is contained in:
Robert Osfield
2017-09-20 14:29:05 +01:00
parent b0829cc352
commit e8eb1ee0c7
2 changed files with 19 additions and 0 deletions

View File

@@ -278,6 +278,8 @@ protected:
virtual osg::StateSet* createStateSet();
void assignStateSet();
Font* getActiveFont();
const Font* getActiveFont() const;