From 9ff8951be62d599d5e6268e08eeb881f4aadd8df Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 12 Mar 2002 05:37:55 +0000 Subject: [PATCH] *** empty log message *** --- src/Objects/newmat.cxx | 3 ++- src/Objects/newmat.hxx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Objects/newmat.cxx b/src/Objects/newmat.cxx index 7ac493dea..dab03e1eb 100644 --- a/src/Objects/newmat.cxx +++ b/src/Objects/newmat.cxx @@ -76,9 +76,10 @@ FGNewMat::FGNewMat (const SGPropertyNode * props) build_ssg_state(false); } -FGNewMat::FGNewMat (const string &texture_path) +FGNewMat::FGNewMat (const string &texpath) { init(); + texture_path = texpath; build_ssg_state(true); } diff --git a/src/Objects/newmat.hxx b/src/Objects/newmat.hxx index a1fb2e8ac..687b40d9e 100644 --- a/src/Objects/newmat.hxx +++ b/src/Objects/newmat.hxx @@ -85,7 +85,7 @@ public: * @param texture_path A string containing an absolute path * to a texture file (usually RGB). */ - FGNewMat (const string &texture_path); + FGNewMat (const string &texpath); /**