Removed Ogre logging from main library.

This commit is contained in:
David Williams
2008-02-09 16:58:48 +00:00
parent f29af2f8d4
commit f263714ebc
5 changed files with 4 additions and 25 deletions

View File

@ -22,8 +22,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "VolumeIterator.h"
#include "OgreVector3.h"
#include "OgreLogManager.h"
#include "OgreStringConverter.h"
#include <iostream> //FIXME - remove this...
@ -167,7 +165,7 @@ namespace Ogre
file.open(sFilename.c_str(), std::ios::in | std::ios::binary);
if(!file.is_open())
{
LogManager::getSingleton().logMessage("Failed to open volume file " + sFilename);
//LogManager::getSingleton().logMessage("Failed to open volume file " + sFilename);
return false;
}
@ -180,7 +178,7 @@ namespace Ogre
file.read(reinterpret_cast<char*>(&volumeDepth), sizeof(volumeDepth));
if(file.fail())
{
LogManager::getSingleton().logMessage("Failed to read dimentions");
//LogManager::getSingleton().logMessage("Failed to read dimentions");
return false;
}
@ -215,7 +213,7 @@ namespace Ogre
file.open(sFilename.c_str(), std::ios::out | std::ios::binary);
if(!file.is_open())
{
LogManager::getSingleton().logMessage("Failed to open file for saving volume");
//LogManager::getSingleton().logMessage("Failed to open file for saving volume");
return false;
}
@ -228,7 +226,7 @@ namespace Ogre
file.write(reinterpret_cast<char*>(&volumeDepth), sizeof(volumeDepth));
if(file.fail())
{
LogManager::getSingleton().logMessage("Failed to write dimensions");
//LogManager::getSingleton().logMessage("Failed to write dimensions");
return false;
}