Made the output message related to not registering a camera manipulator
with the GLUT Viewer output as INFO rather than as a NOTICE. This suppress this message which was appearing on some of the demos all the time, even though are quite reasonable default behaviour is used.
This commit is contained in:
parent
5293f8caf8
commit
e65e389989
@ -150,8 +150,8 @@ bool Viewer::open()
|
|||||||
{
|
{
|
||||||
if (itr->_cameraManipList.empty())
|
if (itr->_cameraManipList.empty())
|
||||||
{
|
{
|
||||||
osg::notify(osg::NOTICE)<<"osgGLUT::Viewer::open() called without any camara manipulators registered for a viewport,"<< std::endl;
|
osg::notify(osg::INFO)<<"osgGLUT::Viewer::open() called without any camara manipulators registered for a viewport,"<< std::endl;
|
||||||
osg::notify(osg::NOTICE)<<"automatically registering trackball,flight and drive manipulators."<< std::endl;
|
osg::notify(osg::INFO)<<"automatically registering trackball,flight and drive manipulators."<< std::endl;
|
||||||
registerCameraManipulator(new osgUtil::TrackballManipulator, index);
|
registerCameraManipulator(new osgUtil::TrackballManipulator, index);
|
||||||
registerCameraManipulator(new osgUtil::FlightManipulator, index);
|
registerCameraManipulator(new osgUtil::FlightManipulator, index);
|
||||||
registerCameraManipulator(new osgUtil::DriveManipulator, index);
|
registerCameraManipulator(new osgUtil::DriveManipulator, index);
|
||||||
|
Loading…
Reference in New Issue
Block a user