From 5d1b46d25fd42483be3262bc527dff17b16ebc02 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 13 Oct 2005 10:29:40 +0000 Subject: [PATCH] Changed the "Cessna" text so that it is sized according to OBJECT_COORDS rather than SCREEN_COORDS as the later was causing problems with the pixel size based LOD selection. --- examples/osgspheresegment/osgspheresegment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgspheresegment/osgspheresegment.cpp b/examples/osgspheresegment/osgspheresegment.cpp index bc6c093d3..67fa9ff72 100644 --- a/examples/osgspheresegment/osgspheresegment.cpp +++ b/examples/osgspheresegment/osgspheresegment.cpp @@ -95,7 +95,7 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) text->setAlignment(osgText::Text::CENTER_CENTER); text->setAxisAlignment(osgText::Text::SCREEN); text->setCharacterSize(40.0f); - text->setCharacterSizeMode(osgText::Text::SCREEN_COORDS); + text->setCharacterSizeMode(osgText::Text::OBJECT_COORDS); osg::Geode* geode = new osg::Geode; geode->addDrawable(text);