From fd8019c88630c659b36cfd67cbf38b3f9cf7cede Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 31 Jul 2019 14:30:47 +0100 Subject: [PATCH] Merged TextBase fixed from OpenSceneGraph-3.6 commit 149c04b0df37e605a94495363801eb518b58a059 --- include/osgText/Text | 1 - include/osgText/TextBase | 1 + src/osgText/Text.cpp | 9 ++++----- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/include/osgText/Text b/include/osgText/Text index e817f8d4d..5be160086 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -265,7 +265,6 @@ protected: virtual osg::StateSet* createStateSet(); Font* getActiveFont(); - const Font* getActiveFont() const; String::iterator computeLastCharacterOnLine(osg::Vec2& cursor, String::iterator first,String::iterator last); diff --git a/include/osgText/TextBase b/include/osgText/TextBase index aa7d8d64b..1611a785c 100644 --- a/include/osgText/TextBase +++ b/include/osgText/TextBase @@ -312,6 +312,7 @@ protected: // members which have public access. osg::Vec4 _color; osg::ref_ptr _font; + osg::ref_ptr _fontFallback; osg::ref_ptr