]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/SGClipGroup.hxx
Work around apparent OSG 3.2.0 normal binding bug.
[simgear.git] / simgear / scene / model / SGClipGroup.hxx
index 7961bfb9d033f92d0b16b6f1d457bf6e9c2d0110..9820ec1d11cb6a8d00e55219f55373172f0f995d 100644 (file)
@@ -33,6 +33,9 @@
 class SGClipGroup : public osg::Group {
 public:
   SGClipGroup();
+  SGClipGroup(const SGClipGroup&,
+              const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
+  META_Node(simgear, SGClipGroup);
 
   virtual osg::BoundingSphere computeBound() const;
 
@@ -46,10 +49,8 @@ public:
 protected:
   class CullCallback;
   class ClipRenderBin;
-
+  struct ClipBinRegistrar;
   std::vector<osg::ref_ptr<osg::ClipPlane> > mClipPlanes;
-
-  static osgUtil::RegisterRenderBinProxy clipBinProxy;
 };
 
 #endif