X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FScripting%2FNasalSys.hxx;h=973730e4770f99eb19b77eb9ff0012e195ce6dab;hb=5146868bfb63895edb6c89b24a9ba216420485c2;hp=b2c569e6a325d52e5b36fe487c1771782600701b;hpb=eba03b5e469824ee8f1494723fcddbbc56155a08;p=flightgear.git diff --git a/src/Scripting/NasalSys.hxx b/src/Scripting/NasalSys.hxx index b2c569e6a..973730e47 100644 --- a/src/Scripting/NasalSys.hxx +++ b/src/Scripting/NasalSys.hxx @@ -134,6 +134,11 @@ private: SGLockedQueue > _loadList; SGLockedQueue > _unloadList; + // Delay removing items of the _loadList to ensure the are already attached + // to the scene graph (eg. enables to retrieve world position in load + // callback). + bool _delay_load; + // // FGTimer subclass for handling Nasal timer callbacks. // See the implementation of the settimer() extension function for