From 7e2dc443ec5001f44b4266581e1ff0eb530582cf Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Sun, 15 Jan 2012 13:07:35 +0100 Subject: [PATCH] Use the original filename for the compressed image message. --- simgear/scene/model/ModelRegistry.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/scene/model/ModelRegistry.cxx b/simgear/scene/model/ModelRegistry.cxx index 2788eadd..54b98a0d 100644 --- a/simgear/scene/model/ModelRegistry.cxx +++ b/simgear/scene/model/ModelRegistry.cxx @@ -284,7 +284,7 @@ ModelRegistry::readImage(const string& fileName, case GL_COMPRESSED_RED_GREEN_RGTC2_EXT: case GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: - SG_LOG(SG_IO, SG_ALERT, "Image \"" << res.getImage()->getFileName() + SG_LOG(SG_IO, SG_ALERT, "Image \"" << fileName << "\" contains non portable compressed textures.\n" "Usage of these textures depend on an extension that" " is not guaranteed to be present."); -- 2.39.5