From 30ea844c432b4ca477779a149c478485d44aa7c1 Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 20 Apr 2006 15:20:40 +0000 Subject: [PATCH] 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?) --- simgear/scene/material/mat.cxx | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.39.5