]> git.mxchange.org Git - simgear.git/commitdiff
Sky: expose OSG branches as Groups.
authorJames Turner <zakalawe@mac.com>
Mon, 24 Feb 2014 06:07:12 +0000 (22:07 -0800)
committerJames Turner <zakalawe@mac.com>
Mon, 24 Feb 2014 18:45:57 +0000 (18:45 +0000)
- avoids creating additional groups in Renderer

simgear/scene/sky/sky.hxx

index caf1f0fb7dc5f18992b5aebb79cdbd37fb0fbb4b..5c239b9e10576c157d192ac78a185bd6ebec83cc 100644 (file)
@@ -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)