Menu

#132 $FG_SCENERY ignored in OS X and Linux (and WIndows?)

Invalid
nobody
Sim (53)
2011-06-05
2010-05-10
Anonymous
No

Originally created by: Armande.... (code.google.com)@gmail.com

On OS X (Snow Leopard) and Linux (Fedora 12), FlightGear seems to
completely ignore the $FG_SCENERY variable.  The only way to tell
FlightGear where to look for scenery is via the --fg-scenery command-line
switch.

Discussion

  • Anonymous

    Anonymous - 2010-05-15

    Originally posted by: zakalawe@mac.com

    The code is still there to look for the environment variable - did this definitely work in the past? The code in
    question hasn't changed much in years, so some idea when this stopped working would be useful. One
    possibility is that specifying --fg-root on the command-line is over-writing this value, but that's a complete
    guess.

     
  • Anonymous

    Anonymous - 2010-05-15

    Originally posted by: zakalawe@mac.com

    (No comment was entered for this change.)

    Labels: Sim

     
  • Anonymous

    Anonymous - 2010-05-16

    Originally posted by: Armande.... (code.google.com)@gmail.com

    Re: Comment 1

    Even if I remove my ~/.fgfsrc file, my ~/.fgfs/ directory, unsetenv FG_ROOT, and not
    use --fg-root, I still get nothing.  However, if I use --fg-scenery=$FG_SCENERY,
    everything's okay.  It's strange. 

    As I recall, it worked before.  However, at that time I also kept my extra scenery in
    $FG_ROOT/Scenery-Terrasync; I moved it to ~/Scenery-Terrasync.  I'd be willing to
    believe that the move might have broken something.  On the other hand, I can't see it
    explaining how --fg-scenery=$FG_SCENERY works.

     
  • Anonymous

    Anonymous - 2010-07-29

    Originally posted by: anders.g... (code.google.com)@gmail.com

    Are you using ~/ when you set FG_SCENERY? If it isn't expanded before being stored in FG_SCENERY that will fail as FlightGear doesn't expand ~/ while when put on the command line with --fg-scenery=$FG_SCENERY the shell might. I use $HOME/ when setting up my FG_SCENERY variable and that works fine.

     
  • Anonymous

    Anonymous - 2010-10-19

    Originally posted by: anders.g... (code.google.com)@gmail.com

    No further info from the reporter and as FG_SCENERY certainly works on Linux I close this issue.

    Status: Invalid

     
  • Anonymous

    Anonymous - 2011-06-05

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Status: Temp

     
  • Anonymous

    Anonymous - 2011-06-05

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Status: Invalid

     

Log in to post a comment.

MongoDB Logo MongoDB