1
0
Fork 0

Reset: drop FGLight prop refs on unbind()

This commit is contained in:
James Turner 2013-11-05 05:30:11 +00:00
parent 0751556aab
commit 9a77efacd9

View file

@ -189,6 +189,11 @@ void FGLight::bind () {
void FGLight::unbind () {
_tiedProperties.Untie();
for (int i = 0; i < 4; ++i)
_chromeProps[i] = SGPropertyNode_ptr();
_sunAngleRad = SGPropertyNode_ptr();
_humidity = SGPropertyNode_ptr();
}