]> git.mxchange.org Git - simgear.git/commitdiff
Restore commit 48c6d3d89ad by Torsten Dreyer: Provide a little more descriptive error...
authorFrederic Bouvier <fredfgfs01@free.fr>
Wed, 13 Oct 2010 07:18:38 +0000 (09:18 +0200)
committerFrederic Bouvier <fredfgfs01@free.fr>
Sun, 24 Oct 2010 07:25:41 +0000 (09:25 +0200)
simgear/scene/material/TextureBuilder.cxx

index 61b62dfec78221d92dd16fb6ce4426c1c18d3b82..a694ea661601754a90497db0e41cbe08e3a0519c 100644 (file)
@@ -135,7 +135,7 @@ void TextureUnitBuilder::buildAttribute(Effect* effect, Pass* pass,
     catch (BuilderException& ) {
         SG_LOG(SG_INPUT, SG_ALERT, "No image file, "
             << "maybe the reader did not set the filename attribute, "
-            << "using white on " << pass->getName());
+            << "using white for type '" << type << "' on '" << pass->getName() << "', in " << prop->getPath() );
         texture = StateAttributeFactory::instance()->getWhiteTexture();
     }
     pass->setTextureAttributeAndModes(unit, texture);