From b956a2c8349fc3c04051bdb44b581dbf3c97c866 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 23 Feb 2014 22:07:12 -0800 Subject: [PATCH] Sky: expose OSG branches as Groups. - avoids creating additional groups in Renderer --- simgear/scene/sky/sky.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)