SGText: minor typo correction

This commit is contained in:
Scott Giese 2021-12-22 23:39:44 -06:00
parent d448ad4eb3
commit 578ffec2da

View File

@ -82,7 +82,7 @@ void SGText::UpdateCallback::operator()(osg::Node * node, osg::NodeVisitor *nv )
if( text->getText().createUTF8EncodedString().compare( buf ) ) {
// be lazy and set the text only if the property has changed.
// update() computes the glyph representation which looks
// more expensive than a the above string compare.
// more expensive than the above string compare.
text->setText( buf, osgText::String::ENCODING_UTF8 );
text->update();
}