From: James Turner Date: Mon, 24 Feb 2014 06:07:12 +0000 (-0800) Subject: Sky: expose OSG branches as Groups. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b956a2c8349fc3c04051bdb44b581dbf3c97c866;p=simgear.git Sky: expose OSG branches as Groups. - avoids creating additional groups in Renderer --- diff --git a/simgear/scene/sky/sky.hxx b/simgear/scene/sky/sky.hxx index caf1f0fb..5c239b9e 100644 --- a/simgear/scene/sky/sky.hxx +++ b/simgear/scene/sky/sky.hxx @@ -345,8 +345,8 @@ public: */ void modify_vis( float alt, float time_factor ); - osg::Node* getPreRoot() { return pre_root.get(); } - osg::Node* getCloudRoot() { return cloud_root.get(); } + osg::Group* getPreRoot() { return pre_root.get(); } + osg::Group* getCloudRoot() { return cloud_root.get(); } /** * Specify the texture path (optional, defaults to current directory)