Fix a bug with old-style binary scenery compatibilty where no ground lighting
was generated.
This commit is contained in:
parent
6116accf6a
commit
82f9528927
1 changed files with 1 additions and 4 deletions
|
@ -540,10 +540,7 @@ FGTileEntry::load( const SGPath& base, bool is_base )
|
||||||
} else {
|
} else {
|
||||||
// no .stg file so this must be old scenery
|
// no .stg file so this must be old scenery
|
||||||
|
|
||||||
// fgObjLoad will generate ground lighting for us ...
|
new_tile = obj_load( basename.str(), light_pts, true );
|
||||||
ssgVertexArray *light_pts = new ssgVertexArray( 100 );
|
|
||||||
|
|
||||||
new_tile = obj_load( basename.str(), light_pts, is_base );
|
|
||||||
|
|
||||||
// load custom objects
|
// load custom objects
|
||||||
SG_LOG( SG_TERRAIN, SG_DEBUG, "Checking for custom objects ..." );
|
SG_LOG( SG_TERRAIN, SG_DEBUG, "Checking for custom objects ..." );
|
||||||
|
|
Loading…
Add table
Reference in a new issue