fix assertion in sunsolver.cxx with --timeofday=xx
This commit is contained in:
parent
2e6d7e111a
commit
4466729987
1 changed files with 1 additions and 0 deletions
|
@ -620,6 +620,7 @@ static void fgIdleFunction ( void ) {
|
||||||
Ephemeris* eph = new Ephemeris;
|
Ephemeris* eph = new Ephemeris;
|
||||||
globals->add_subsystem("ephmeris", eph);
|
globals->add_subsystem("ephmeris", eph);
|
||||||
eph->init(); // FIXME - remove this once SGSky code below is also a subsystem
|
eph->init(); // FIXME - remove this once SGSky code below is also a subsystem
|
||||||
|
eph->bind();
|
||||||
|
|
||||||
// TODO: move to environment mgr
|
// TODO: move to environment mgr
|
||||||
thesky = new SGSky;
|
thesky = new SGSky;
|
||||||
|
|
Loading…
Reference in a new issue