raise signal to listeners when a whole coordinate set was written
This commit is contained in:
parent
69dc912333
commit
6cfdb3e4b3
1 changed files with 2 additions and 0 deletions
|
@ -329,6 +329,8 @@ FGInput::doMouseClick (int b, int updown, int x, int y)
|
|||
c->setDoubleValue("latitude-deg", geod.lat() * SGD_RADIANS_TO_DEGREES);
|
||||
c->setDoubleValue("elevation-m", geod.elev());
|
||||
c->setDoubleValue("elevation-ft", geod.elev() * SG_METER_TO_FEET);
|
||||
|
||||
fgSetBool("/sim/signals/click", 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue