diff --git a/examples/osgfadetext/osgfadetext.cpp b/examples/osgfadetext/osgfadetext.cpp index 1c7367eee..e155c0fcf 100644 --- a/examples/osgfadetext/osgfadetext.cpp +++ b/examples/osgfadetext/osgfadetext.cpp @@ -101,7 +101,7 @@ osg::Node* createFadeText(osg::EllipsoidModel* ellipsoid) osg::Geode* geode = new osg::Geode; osgText::FadeText* text = new osgText::FadeText; - text->setText("This is a test"); + text->setText("One"); text->setFont("fonts/arial.ttf"); text->setPosition(position); text->setCharacterSize(300000.0f); @@ -118,7 +118,7 @@ osg::Node* createFadeText(osg::EllipsoidModel* ellipsoid) osg::Geode* geode = new osg::Geode; osgText::FadeText* text = new osgText::FadeText; - text->setText("This is a test"); + text->setText("Two"); text->setFont("fonts/arial.ttf"); text->setPosition(position); text->setCharacterSize(300000.0f); diff --git a/src/osg/View.cpp b/src/osg/View.cpp index f42b41b53..f25944645 100644 --- a/src/osg/View.cpp +++ b/src/osg/View.cpp @@ -199,7 +199,7 @@ bool View::addCamera(osg::CameraNode* camera, const osg::Matrix& projectionOffse _cameras.push_back(CameraData(camera, projectionOffset, viewOffset)); - osg::notify(osg::NOTICE)<<"Added camera"<& vertices) { - for(std::vector::const_iterator itr = vertices.begin(); - itr != vertices.end(); - ++itr) - { - osg::notify(osg::NOTICE)<<"testing "<<*itr<::const_iterator itr = vertices.begin(); itr != vertices.end(); ++itr) { if (osg::Polytope::contains(*itr)) { - osg::notify(osg::NOTICE)<<"Does contain "<<*itr< > UserDataSet; typedef std::set FadeTextSet; - typedef std::multimap > FadeTextPolytopeMap; + typedef std::multimap > FadeTextPolytopeMap; typedef std::map ViewUserDataMap; typedef std::map ViewFadeTextMap; @@ -175,8 +168,6 @@ struct GlobalFadeText : public osg::Referenced void update(unsigned int frameNumber) { - osg::notify(osg::NOTICE)<second); outer_ftpm.buildPolytope(); - osg::notify(osg::NOTICE)<<"Outer z "<second); - osg::notify(osg::NOTICE)<<"Inner z "<getProjectionMatrix())="<getProjectionMatrix()<