]> git.mxchange.org Git - simgear.git/commitdiff
fix "unknown.rgb" path (the wrong path was the reason why we always only
authormfranz <mfranz>
Thu, 20 Apr 2006 15:20:40 +0000 (15:20 +0000)
committermfranz <mfranz>
Thu, 20 Apr 2006 15:20:40 +0000 (15:20 +0000)
got plib's lowres red-white chequer-board pattern along with an error
message, and not ours ... which is much prettier, but also bigger.
(Should we downscale it?)

simgear/scene/material/mat.cxx

index 8606e61666d93be63181b11b227dd65281331c77..8a8f635a4d56475d6ed006ce503233a1346a04cb 100644 (file)
@@ -120,6 +120,7 @@ SGMaterial::read_properties( const string &fg_root, const SGPropertyNode * props
     string tname = "unknown.rgb";
     SGPath tpath( fg_root );
     tpath.append("Textures");
+    tpath.append("Terrain");
     tpath.append(tname);
     _internal_state st( NULL, tpath.str(), true );
     _status.push_back( st );