From e03752883ef9fd32ed2fe8abb79a232afe76558f Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 11 Apr 2001 20:09:23 +0000 Subject: [PATCH] Unconvoluted around line #130 --- src/Objects/matlib.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Objects/matlib.cxx b/src/Objects/matlib.cxx index 25535f8f4..60fa40ea5 100644 --- a/src/Objects/matlib.cxx +++ b/src/Objects/matlib.cxx @@ -129,10 +129,8 @@ bool FGMaterialLib::load( const string& mpath ) { in >> m; // build the ssgSimpleState - SGPath tmp_path( globals->get_fg_root() ); - tmp_path.append( "Textures.high" ); - - SGPath tex_path = tmp_path; + SGPath tex_path( globals->get_fg_root() ); + tex_path.append( "Textures.high" ); tex_path.append( m.get_texture_name() ); if ( ! local_file_exists(tex_path.str()) || general.get_glMaxTexSize() < 512 ) { -- 2.39.5