FlightGear Headless: Difference between revisions

Line 150: Line 150:
       traits->pbuffer = true;
       traits->pbuffer = true;
     }
     }
</syntaxhighlight><ref>{{cite web
</syntaxhighlight>
 
just set an environment variable in my shell called FG_GUI and then this little hack works.<ref>{{cite web
   |url    =  https://forum.flightgear.org/viewtopic.php?p=291699#p291699  
   |url    =  https://forum.flightgear.org/viewtopic.php?p=291699#p291699  
   |title  =  <nowiki> Re: Headless mode with access to property tree </nowiki>  
   |title  =  <nowiki> Re: Headless mode with access to property tree </nowiki>