set /sim/rendering/particles as global particle switch
This commit is contained in:
parent
c3b1d4e806
commit
76b609738f
1 changed files with 1 additions and 0 deletions
|
@ -1494,6 +1494,7 @@ bool fgInitSubsystems() {
|
|||
|
||||
globals->get_scenery()->get_scene_graph()
|
||||
->addChild(simgear::Particles::getCommonRoot());
|
||||
simgear::GlobalParticleCallback::setSwitch(fgGetNode("/sim/rendering/particles", true));
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Initialize the flight model subsystem.
|
||||
|
|
Loading…
Add table
Reference in a new issue