Closed colingeniet closed 3 years ago
@l0k1 Sorry, reviving this. Could you merge this, or is there an issue with the changes? It fixes headtracking using the following addon: https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Addons/Headtracker/
Sorry, no issues, this just fell off my radar. Thanks!
When a number property is defined with whitespace, nasal interprets it as a string instead of a number. This crashes my headtracking script, and I think it can also cause issues with view reset functions from FGData
view.nas
. This adds explicit type declarations to avoid this.