Converted osg::notify to OSG_INFO etc.
This commit is contained in:
@@ -44,7 +44,7 @@ void Constraint::computeLocalToWorldAndWorldToLocal() const
|
||||
{
|
||||
if (!_refNode)
|
||||
{
|
||||
osg::notify(osg::INFO)<<"osgManipulator::Constraint::computeLocalToWorldAndWorldToLocal() error, _refNode is null"<<std::endl;
|
||||
OSG_INFO<<"osgManipulator::Constraint::computeLocalToWorldAndWorldToLocal() error, _refNode is null"<<std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ void osgManipulator::computeNodePathToRoot(osg::Node& node, osg::NodePath& np)
|
||||
np = nodePaths.front();
|
||||
if (nodePaths.size()>1)
|
||||
{
|
||||
osg::notify(osg::NOTICE)<<"osgManipulator::computeNodePathToRoot(,) taking first parent path, ignoring others."<<std::endl;
|
||||
OSG_NOTICE<<"osgManipulator::computeNodePathToRoot(,) taking first parent path, ignoring others."<<std::endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -147,7 +147,7 @@ Dragger::Dragger(const Dragger& rhs, const osg::CopyOp& copyop):
|
||||
_activationPermittedByModKeyMask(false),
|
||||
_activationPermittedByKeyEvent(false)
|
||||
{
|
||||
osg::notify(osg::NOTICE)<<"CompositeDragger::CompositeDragger(const CompositeDragger& rhs, const osg::CopyOp& copyop) not Implemented yet."<<std::endl;
|
||||
OSG_NOTICE<<"CompositeDragger::CompositeDragger(const CompositeDragger& rhs, const osg::CopyOp& copyop) not Implemented yet."<<std::endl;
|
||||
}
|
||||
|
||||
Dragger::~Dragger()
|
||||
@@ -400,7 +400,7 @@ void Dragger::dispatch(MotionCommand& command)
|
||||
CompositeDragger::CompositeDragger(const CompositeDragger& rhs, const osg::CopyOp& copyop):
|
||||
Dragger(rhs, copyop)
|
||||
{
|
||||
osg::notify(osg::NOTICE)<<"CompositeDragger::CompositeDragger(const CompositeDragger& rhs, const osg::CopyOp& copyop) not Implemented yet."<<std::endl;
|
||||
OSG_NOTICE<<"CompositeDragger::CompositeDragger(const CompositeDragger& rhs, const osg::CopyOp& copyop) not Implemented yet."<<std::endl;
|
||||
}
|
||||
|
||||
bool CompositeDragger::handle(const PointerInfo& pi, const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa)
|
||||
|
||||
@@ -243,7 +243,7 @@ bool LineProjector::project(const PointerInfo& pi, osg::Vec3d& projectedPoint) c
|
||||
{
|
||||
if (!_line->valid())
|
||||
{
|
||||
osg::notify(osg::WARN) << "Warning: Invalid line set. LineProjector::project() failed."<<std::endl;
|
||||
OSG_WARN << "Warning: Invalid line set. LineProjector::project() failed."<<std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@ bool PlaneProjector::project(const PointerInfo& pi, osg::Vec3d& projectedPoint)
|
||||
{
|
||||
if (!_plane.valid())
|
||||
{
|
||||
osg::notify(osg::WARN) << "Warning: Invalid plane set. PlaneProjector::project() failed."<< std::endl;
|
||||
OSG_WARN << "Warning: Invalid plane set. PlaneProjector::project() failed."<< std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -320,7 +320,7 @@ bool SphereProjector::project(const PointerInfo& pi, osg::Vec3d& projectedPoint)
|
||||
{
|
||||
if (!_sphere->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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user