diff --git a/src/osgManipulator/Constraint.cpp b/src/osgManipulator/Constraint.cpp index a09db3de9..651470dd9 100644 --- a/src/osgManipulator/Constraint.cpp +++ b/src/osgManipulator/Constraint.cpp @@ -44,7 +44,7 @@ void Constraint::computeLocalToWorldAndWorldToLocal() const { if (!_refNode) { - osg::notify(osg::INFO)<<"osgManipulator::Constraint::computeLocalToWorldAndWorldToLocal() error, _refNode is null"<1) { - osg::notify(osg::NOTICE)<<"osgManipulator::computeNodePathToRoot(,) taking first parent path, ignoring others."<valid()) { - osg::notify(osg::WARN) << "Warning: Invalid line set. LineProjector::project() failed."<valid()) { - osg::notify(osg::WARN) << "Warning: Invalid sphere. SphereProjector::project() failed." << std::endl; + OSG_WARN << "Warning: Invalid sphere. SphereProjector::project() failed." << std::endl; return false; } @@ -429,7 +429,7 @@ bool SpherePlaneProjector::project(const PointerInfo& pi, osg::Vec3d& projectedP { if (!_sphere->valid()) { - osg::notify(osg::WARN) << "Warning: Invalid sphere. SpherePlaneProjector::project() failed." << std::endl; + OSG_WARN << "Warning: Invalid sphere. SpherePlaneProjector::project() failed." << std::endl; return false; } @@ -502,7 +502,7 @@ bool CylinderProjector::project(const PointerInfo& pi, osg::Vec3d& projectedPoin { if (!_cylinder.valid()) { - osg::notify(osg::WARN) << "Warning: Invalid cylinder. CylinderProjector::project() failed." + OSG_WARN << "Warning: Invalid cylinder. CylinderProjector::project() failed." << std::endl; return false; } @@ -549,7 +549,7 @@ bool CylinderPlaneProjector::project(const PointerInfo& pi, osg::Vec3d& projecte { if (!_cylinder.valid()) { - osg::notify(osg::WARN) << "Warning: Invalid cylinder. CylinderProjector::project() failed." + OSG_WARN << "Warning: Invalid cylinder. CylinderProjector::project() failed." << std::endl; return false; }