]> git.mxchange.org Git - flightgear.git/commit
initialize the heading-indicator/offset-deg in it's class
authorTorsten Dreyer <Torsten@t3r.de>
Wed, 1 Feb 2012 21:24:06 +0000 (22:24 +0100)
committerTorsten Dreyer <Torsten@t3r.de>
Wed, 1 Feb 2012 21:24:06 +0000 (22:24 +0100)
commit72483d565bfcfde43e63290b49aa8c33900d6d1c
treedadc77f0509d3fe97d4e3c48e515008babc02b55
parent5c3b6a2cc4a741fd886ae151291c7daffc807946
initialize the heading-indicator/offset-deg in it's class

Don't initialize the offset in the main loop but in
the init method of the implementing class. This ensures
it gets initialized if you instantiate more than one
heading-indicator and does not initialize the property for
unsused heading-indicators (no more stray heading-indicator-fg
property anymore).
src/Instrumentation/heading_indicator.cxx
src/Instrumentation/heading_indicator_fg.cxx
src/Main/main.cxx