diff --git a/src/osgUI/Style.cpp b/src/osgUI/Style.cpp index c8bd21a3d..2a47b9781 100644 --- a/src/osgUI/Style.cpp +++ b/src/osgUI/Style.cpp @@ -228,11 +228,14 @@ osg::Node* Style::createText(const osg::BoundingBox& extents, const AlignmentSet { // OSG_NOTICE<<"createText"< textDrawable = new osgText::Text; textDrawable->setName("Text"); textDrawable->setText(text); textDrawable->setEnableDepthWrites(false); + textDrawable->setColor(textColor); if (ts) {