From c5f5a484ee522da0544bc64518b5068cf6235692 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Fri, 14 Sep 2018 16:00:16 -0400 Subject: [PATCH] IESI: Fix ALT TENS tape --- Models/Instruments/IESI/IESI.nas | 3 +-- revision.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Models/Instruments/IESI/IESI.nas b/Models/Instruments/IESI/IESI.nas index 3c726c61..1cf475d4 100644 --- a/Models/Instruments/IESI/IESI.nas +++ b/Models/Instruments/IESI/IESI.nas @@ -152,7 +152,6 @@ var canvas_IESI = { } # Attitude - me.AI_horizon_trans.setTranslation(0, pitch.getValue() * 16.74); me.AI_horizon_rot.setRotation(-roll.getValue() * D2R, me["AI_center"].getCenter()); @@ -179,7 +178,7 @@ var canvas_IESI = { me["ALT_digits"].setText(sprintf("%s", altitude_ind.getValue())); me["ALT_meters"].setText(sprintf("%5.0f", me.altitude * 0.3048)); - altTens = num(right(sprintf("%02d", altitude_ind.getValue()), 2)); + altTens = num(right(sprintf("%02d", altitude.getValue()), 2)); me["ALT_tens"].setTranslation(0, altTens * 3.16); # QNH diff --git a/revision.txt b/revision.txt index 5bbc35dc..a82e2037 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4638 \ No newline at end of file +4639 \ No newline at end of file