diff --git a/src/osgGA/AnimationPathManipulator.cpp b/src/osgGA/AnimationPathManipulator.cpp index edc3beaf3..c870f3769 100644 --- a/src/osgGA/AnimationPathManipulator.cpp +++ b/src/osgGA/AnimationPathManipulator.cpp @@ -33,7 +33,7 @@ AnimationPathManipulator::AnimationPathManipulator( const std::string& filename if (!in) { - osg::notify(osg::WARN) << "AnimationPathManipulator: Cannot open animation path file \"" << filename << "\".\n"; + OSG_WARN << "AnimationPathManipulator: Cannot open animation path file \"" << filename << "\".\n"; _valid = false; return; } @@ -100,7 +100,7 @@ bool AnimationPathManipulator::handle(const osgGA::GUIEventAdapter& ea,osgGA::GU _timeScale *= 1.1; - osg::notify(osg::NOTICE)<<"Animation speed = "<<_timeScale*100<<"%"<second.second->getNode() ) { it->second.second->setNode(_current->getNode()); @@ -185,8 +185,6 @@ bool KeySwitchMatrixManipulator::handle(const GUIEventAdapter& ea,GUIActionAdapt it->second.second->init(ea,aa); _current = it->second.second; - //_cameraManipChangeCallbacks.notify(this); - handled = true; } } diff --git a/src/osgGA/NodeTrackerManipulator.cpp b/src/osgGA/NodeTrackerManipulator.cpp index c44e0a6e4..1cbc18373 100644 --- a/src/osgGA/NodeTrackerManipulator.cpp +++ b/src/osgGA/NodeTrackerManipulator.cpp @@ -64,7 +64,7 @@ bool NodeTrackerManipulator::validateNodePath() const { if (*itr==0) { - osg::notify(osg::NOTICE)<<"Warning: tracked node path has been invalidated by changes in the scene graph."<(_trackNodePath).clear(); return false; } @@ -102,7 +102,7 @@ void NodeTrackerManipulator::setNode(Node* node) if (_node.valid()) { setMinimumDistance(clampBetween(_modelSize*0.001, 0.00001, 1.0)); - notify(INFO) << "NodeTrackerManipulator: setting minimum distance to " + OSG_INFO << "NodeTrackerManipulator: setting minimum distance to " << _minimumDistance << std::endl; } } @@ -112,7 +112,7 @@ void NodeTrackerManipulator::setTrackNode(osg::Node* node) { if (!node) { - osg::notify(osg::NOTICE)<<"NodeTrackerManipulator::setTrackNode(Node*): Unable to set tracked node due to null Node*"<1) { - osg::notify(osg::NOTICE)<<"osgGA::NodeTrackerManipualtor::setTrackNode(..) taking first parent path, ignoring others."<getName()<<"): Path set"<getName()<<"): Path set"<getName()<<")"<getName()<<")"<className()<<" '"<<_trackNodePath[i]->getName()<<"'"<className()<<" '"<<_trackNodePath[i]->getName()<<"'"<getTime() - _ga_t1->getTime(); if( eventTimeDelta < 0. ) { - notify( WARN ) << "Manipulator warning: eventTimeDelta = " << eventTimeDelta << std::endl; + OSG_WARN << "Manipulator warning: eventTimeDelta = " << eventTimeDelta << std::endl; eventTimeDelta = 0.; } @@ -741,7 +741,7 @@ void StandardManipulator::fixVerticalAxis( const osg::Vec3d& forward, const osg: else { // return original up - notify( WARN ) << "StandardManipulator::fixVerticalAxis warning: Can not update vertical axis." << std::endl; + OSG_WARN << "StandardManipulator::fixVerticalAxis warning: Can not update vertical axis." << std::endl; newUp = up; } diff --git a/src/osgGA/TerrainManipulator.cpp b/src/osgGA/TerrainManipulator.cpp index 196872bdb..53730632d 100644 --- a/src/osgGA/TerrainManipulator.cpp +++ b/src/osgGA/TerrainManipulator.cpp @@ -57,8 +57,8 @@ void TerrainManipulator::setNode( Node* node ) if( _node.valid() ) { setMinimumDistance( clampBetween( _modelSize * 0.001, 0.00001, 1.0 ) ); - notify( INFO ) << "TerrainManipulator: setting _minimumDistance to " - << _minimumDistance << std::endl; + OSG_INFO << "TerrainManipulator: setting _minimumDistance to " + << _minimumDistance << std::endl; } } } @@ -70,8 +70,8 @@ void TerrainManipulator::setByMatrix(const Matrixd& matrix) Vec3d lookVector(- matrix(2,0),-matrix(2,1),-matrix(2,2)); Vec3d eye(matrix(3,0),matrix(3,1),matrix(3,2)); - notify(INFO)<<"eye point "<