From: mfranz Date: Thu, 20 Apr 2006 15:20:40 +0000 (+0000) Subject: fix "unknown.rgb" path (the wrong path was the reason why we always only X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=30ea844c432b4ca477779a149c478485d44aa7c1;p=simgear.git fix "unknown.rgb" path (the wrong path was the reason why we always only 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?) --- diff --git a/simgear/scene/material/mat.cxx b/simgear/scene/material/mat.cxx index 8606e616..8a8f635a 100644 --- a/simgear/scene/material/mat.cxx +++ b/simgear/scene/material/mat.cxx @@ -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 );