Added assignStateSet() to Text::setBackgroundColor()

This commit is contained in:
Robert Osfield
2017-09-21 16:01:27 +01:00
parent 12904105f8
commit 4b6722ab44
2 changed files with 11 additions and 3 deletions

View File

@@ -1507,6 +1507,8 @@ void Text::setBackdropOffset(float horizontal, float vertical)
void Text::setBackdropColor(const osg::Vec4& color)
{
_backdropColor = color;
assignStateSet();
}
void Text::setColorGradientMode(ColorGradientMode mode)