]> git.mxchange.org Git - flightgear.git/commitdiff
Shift of management of the precipitation OSG scene graph to the scenery manager.
authorEdward d'Auvergne <edward@nmr-relax.com>
Tue, 3 May 2016 07:56:06 +0000 (09:56 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:50 +0000 (23:27 +0200)
The precipitation branch of the OSG scene graph is now centrally managed by the
scenery manager rather the precipitation manager itself.  The scene graph
initialisation from the constructor has also been shifted into the new
FGPrecipitationMgr::sceneGraphSetup() function.

src/Scenery/scenery.cxx

index 4b6d5f726790b055eba8bf5a2aba3e1b87fafedf..b64c16d5ce92492304e179582069daa8b3e95420 100644 (file)
@@ -358,6 +358,7 @@ void FGScenery::shutdown()
     models_branch = NULL;
     aircraft_branch = NULL;
     particles_branch = NULL;
+    precipitation_branch = NULL;
 
     // Toggle the setup flag.
     _inited = false;