From: Edward d'Auvergne Date: Tue, 3 May 2016 07:56:06 +0000 (+0200) Subject: Shift of management of the precipitation OSG scene graph to the scenery manager. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=22fbe139d5d96246bbc720981f013382f4ddb92f;p=flightgear.git 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. --- 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;