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?)
This commit is contained in:
mfranz 2006-04-20 15:20:40 +00:00
parent efac53b121
commit 30ea844c43

View 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 );