]> git.mxchange.org Git - flightgear.git/commitdiff
set the /sim/signals/reinit property on reinit, so that aircraft code can
authormfranz <mfranz>
Sun, 29 Jan 2006 16:20:31 +0000 (16:20 +0000)
committermfranz <mfranz>
Sun, 29 Jan 2006 16:20:31 +0000 (16:20 +0000)
attach listeners. Other relevant stuff should go here, too. (/sim/crashed
could be one.)

src/GUI/gui_local.cxx

index 1ec2b08ed5a24c29bdf8db1dbc67e9a1e7464ab9..0feed8a7e6f5dbdfff50c50d5035088e50c94707 100644 (file)
@@ -81,9 +81,10 @@ void reInit(puObject *cb)
     fgReInitSubsystems();
 
     globals->get_tile_mgr()->update( fgGetDouble("/environment/visibility-m") );
-
     globals->get_renderer()->resize( xsize, ysize );
 
+    fgSetBool("/sim/signals/reinit", true);
+
     // BusyCursor(1);
     
     if ( !freeze ) {