From 22fbe139d5d96246bbc720981f013382f4ddb92f Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Tue, 3 May 2016 09:56:06 +0200 Subject: [PATCH] Shift of management of the precipitation OSG scene graph to the scenery manager. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Scenery/scenery.cxx b/src/Scenery/scenery.cxx index 4b6d5f726..b64c16d5c 100644 --- a/src/Scenery/scenery.cxx +++ b/src/Scenery/scenery.cxx @@ -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; -- 2.39.5