From 1fa7a1464f57c902ef50482ca7010306c1290b68 Mon Sep 17 00:00:00 2001 From: ehofman <ehofman> Date: Wed, 7 Jan 2004 22:51:28 +0000 Subject: [PATCH] Name the property sun-angle-rad instead of sun-pos-rad to make it a bit more descriptive --- src/Time/light.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Time/light.cxx b/src/Time/light.cxx index 2ab9a44d9..e4f67467c 100644 --- a/src/Time/light.cxx +++ b/src/Time/light.cxx @@ -134,12 +134,12 @@ void FGLight::reinit () { void FGLight::bind () { SGPropertyNode *prop = globals->get_props(); - prop->tie("/sim/time/sun-pos-rad", SGRawValuePointer<double>(&_sun_angle)); + prop->tie("/sim/time/sun-angle-rad",SGRawValuePointer<double>(&_sun_angle)); } void FGLight::unbind () { SGPropertyNode *prop = globals->get_props(); - prop->untie("/sim/time/sun-pos-rad"); + prop->untie("/sim/time/sun-angle-rad"); }