From: Perttu Ahola Date: Tue, 15 Nov 2011 22:20:10 +0000 (+0200) Subject: Cut down TextureSource verbosity X-Git-Tag: 0.4.dev-20111201-0~147 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=594b18956938441b6accc249f7513c29348399db;p=oweals%2Fminetest.git Cut down TextureSource verbosity --- diff --git a/src/tile.cpp b/src/tile.cpp index f57abfbb8..230580124 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -511,14 +511,14 @@ u32 TextureSource::getTextureIdDirect(const std::string &name) n = m_name_to_id.find(name); if(n != NULL) { - infostream<<"getTextureIdDirect(): \""<getValue(); } } - infostream<<"getTextureIdDirect(): \""<= m_atlaspointer_cache.size()) { - infostream<<"TextureSource::getTextureName(): id="<= m_atlaspointer_cache.size()=" < request = m_get_texture_queue.pop(); - infostream<<"TextureSource::processQueue(): " + /*infostream<<"TextureSource::processQueue(): " <<"got texture request with " <<"name=\""< result; @@ -719,48 +719,11 @@ void TextureSource::processQueue() void TextureSource::insertSourceImage(const std::string &name, video::IImage *img) { - infostream<<"TextureSource::insertSourceImage(): name="<getValue(); reuse_old_id = true; - infostream<<"TextureSource::buildMainAtlas(): " - <<"Replacing old AtlasPointer"<getOrLoad(filename, device); @@ -1402,7 +1363,7 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg, { if(baseimg != NULL) { - infostream<<"generate_image(): baseimg!=NULL " + errorstream<<"generate_image(): baseimg!=NULL " <<"for part_of_name=\""<getOrLoad(filename, device); if(image == NULL) { - infostream<<"generate_image(): Loading file \"" + errorstream<<"generate_image(): Loading file \"" <getOrLoad(filename, device); if(image == NULL) { - infostream<<"generate_image(): Loading file \"" + errorstream<<"generate_image(): Loading file \"" <queryFeature(video::EVDF_RENDER_TO_TARGET) == false) { - infostream<<"generate_image(): EVDF_RENDER_TO_TARGET" + errorstream<<"generate_image(): EVDF_RENDER_TO_TARGET" " not supported. Creating fallback image"<