]> git.mxchange.org Git - flightgear.git/commitdiff
raise signal to listeners when a whole coordinate set was written
authormfranz <mfranz>
Tue, 21 Mar 2006 17:33:54 +0000 (17:33 +0000)
committermfranz <mfranz>
Tue, 21 Mar 2006 17:33:54 +0000 (17:33 +0000)
src/Input/input.cxx

index 925e5c21e53e357ec0359526baf54b9b9b2d2d81..be5d83071db9176adb0394c18a2eed6e33098be2 100644 (file)
@@ -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);
       }
     }
   }