From f8abc6d848cff96504273c247ac0226d20d2ff89 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 11 Sep 2002 16:51:23 +0000 Subject: [PATCH] Fixed: When you select Menu->Autopilot->Set Heading nothing happens. --- src/GUI/gui_funcs.cxx | 1 + src/Objects/newmat.cxx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index 8bc4d75c6..aaec44362 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -185,6 +185,7 @@ const __fg_gui_fn_t __fg_gui_fn[] = { // Autopilot {"NewAltitude", NewAltitude}, + {"NewHeading", NewHeading}, {"AddWayPoint", AddWayPoint}, {"PopWayPoint", PopWayPoint}, {"ClearRoute", ClearRoute}, diff --git a/src/Objects/newmat.cxx b/src/Objects/newmat.cxx index 96288fe87..b02b717a5 100644 --- a/src/Objects/newmat.cxx +++ b/src/Objects/newmat.cxx @@ -416,6 +416,7 @@ FGNewMat::build_ssg_state (bool defer_tex_load) textured->setMaterial ( GL_SPECULAR, specular[0], specular[1], specular[2], specular[3] ) ; + textured->setShininess( 75.0 ); textured->setMaterial ( GL_EMISSION, emission[0], emission[1], emission[2], emission[3] ) ; -- 2.39.2