Changed the "Reading a byte swapped file" message to info level.

This commit is contained in:
Robert Osfield 2004-08-13 12:38:12 +00:00
parent 195a1be76e
commit 3568e60718

View File

@ -58,6 +58,7 @@
#include "Shape.h" #include "Shape.h"
#include <osg/Endian> #include <osg/Endian>
#include <osg/Notify>
#include <osgDB/ReadFile> #include <osgDB/ReadFile>
@ -86,7 +87,7 @@ DataInputStream::DataInputStream(std::istream* istream)
if ( endianType != OPPOSITE_ENDIAN_TYPE ) { if ( endianType != OPPOSITE_ENDIAN_TYPE ) {
throw Exception("DataInputStream::DataInputStream(): This file has an unreadable endian type.") ; throw Exception("DataInputStream::DataInputStream(): This file has an unreadable endian type.") ;
} }
if (true/*_verboseOutput*/) std::cout<<"DataInputStream::DataInputStream: Reading a byteswapped file" << std::endl ; osg::notify(osg::INFO)<<"DataInputStream::DataInputStream: Reading a byteswapped file" << std::endl ;
_byteswap = 1 ; _byteswap = 1 ;
} }