]> git.mxchange.org Git - flightgear.git/commitdiff
Fixed: When you select Menu->Autopilot->Set Heading nothing happens.
authorcurt <curt>
Wed, 11 Sep 2002 16:51:23 +0000 (16:51 +0000)
committercurt <curt>
Wed, 11 Sep 2002 16:51:23 +0000 (16:51 +0000)
src/GUI/gui_funcs.cxx
src/Objects/newmat.cxx

index 8bc4d75c67651e41b9bac083f08fd3ee4a7c4658..aaec44362eba04c85cd9dd7507e2bf9098eee962 100644 (file)
@@ -185,6 +185,7 @@ const __fg_gui_fn_t __fg_gui_fn[] = {
 
         // Autopilot
         {"NewAltitude", NewAltitude},
+       {"NewHeading", NewHeading},
         {"AddWayPoint", AddWayPoint},
         {"PopWayPoint", PopWayPoint},
         {"ClearRoute", ClearRoute},
index 96288fe87a6b781ab5cd943d8796e1c4bbeb373a..b02b717a5588bf82930c24ae00329847db120e69 100644 (file)
@@ -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] ) ;