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)