1
0
Fork 0

reset view after reinit (slowly, because the lowpass filters need to catch up)

This commit is contained in:
mfranz 2006-12-03 23:59:50 +00:00
parent 89710547ec
commit c5ac5639a0

View file

@ -124,6 +124,7 @@ ViewManager = {
me.heading_axis.reset(); me.heading_axis.reset();
me.pitch_axis.reset(); me.pitch_axis.reset();
me.roll_axis.reset(); me.roll_axis.reset();
me.add_offset();
}, },
add_offset : func { add_offset : func {
me.heading_axis.add_offset(); me.heading_axis.add_offset();
@ -281,7 +282,7 @@ settimer(func {
}, 1)); }, 1));
append(L, setlistener("/sim/signals/reinit", func { append(L, setlistener("/sim/signals/reinit", func {
view_manger.reset(); view_manager.reset();
}, 0)); }, 0));
}, 0); }, 0);