c172p-team / c172p

A high detailed version of the Cessna 172P aircraft for FlightGear
GNU General Public License v2.0
82 stars 43 forks source link

Account for variant properties in save/restore logic #1443

Closed wlbragg closed 1 year ago

wlbragg commented 1 year ago

Fixes #1441

@dany93

I think there is room for improvement down the road. You can get some strange restore results when restoring across fg1000 vs non-glass variant choices. I'm not ready to tackle that yet.

This work is only to repair the basic functionality. It was broke because of some unaccounted for properties that were introduced when the fg1000 variant came online. I tested for, no crashes, no nasal errors and that it basically works.

This is ready to merge. I plan to cherry pick this back to the new 2020.4.1 release as a bug fix.