[Client] Adjust log levels used for weather and global map

remotes/1728160796594174844/tmp_0.7.0-alpha
David Cernat 7 years ago
parent f1315ef30d
commit 0f0e8b7c08

@ -76,7 +76,7 @@ void Worldstate::setWeather()
// doesn't have the correct new region set for us, so make sure we update it // doesn't have the correct new region set for us, so make sure we update it
world->updateWeather(0); world->updateWeather(0);
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Setting weather for region: %s, currentWeather: %i, " LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Setting weather for region: %s, currentWeather: %i, "
"nextWeather: %i, queuedWeather: %i, transitionFactor: %f, forceWeather is %s", "nextWeather: %i, queuedWeather: %i, transitionFactor: %f, forceWeather is %s",
weather.region.c_str(), weather.currentWeather, weather.nextWeather, weather.region.c_str(), weather.currentWeather, weather.nextWeather,
weather.queuedWeather, weather.transitionFactor, forceWeather ? "true" : "false"); weather.queuedWeather, weather.transitionFactor, forceWeather ? "true" : "false");
@ -111,7 +111,7 @@ void Worldstate::sendWeather(std::string region, int currentWeather, int nextWea
weather.queuedWeather = queuedWeather; weather.queuedWeather = queuedWeather;
weather.transitionFactor = transitionFactor; weather.transitionFactor = transitionFactor;
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Sending ID_PLAYER_WEATHER with region: %s, currentWeather: %i, " LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Sending ID_PLAYER_WEATHER with region: %s, currentWeather: %i, "
"nextWeather: %i, queuedWeather, %i, transitionFactor: %f", "nextWeather: %i, queuedWeather, %i, transitionFactor: %f",
region.c_str(), currentWeather, nextWeather, queuedWeather, transitionFactor); region.c_str(), currentWeather, nextWeather, queuedWeather, transitionFactor);

@ -667,7 +667,7 @@ namespace MWRender
if (MWBase::Environment::get().getWorld()->getExterior(cellX, cellY)->getCell()->mContextList.empty() == false) if (MWBase::Environment::get().getWorld()->getExterior(cellX, cellY)->getCell()->mContextList.empty() == false)
{ {
LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "New global map tile corresponds to cell %i, %i", originToCellX.at(imageDest.mX), originToCellY.at(imageDest.mY)); LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "New global map tile corresponds to cell %i, %i", originToCellX.at(imageDest.mX), originToCellY.at(imageDest.mY));
osgDB::ReaderWriter* readerwriter = osgDB::Registry::instance()->getReaderWriterForExtension("png"); osgDB::ReaderWriter* readerwriter = osgDB::Registry::instance()->getReaderWriterForExtension("png");
if (!readerwriter) if (!readerwriter)

Loading…
Cancel
Save