diff --git a/src/osg/ClusterCullingCallback.cpp b/src/osg/ClusterCullingCallback.cpp index 0080361f6..1913cfc4e 100644 --- a/src/osg/ClusterCullingCallback.cpp +++ b/src/osg/ClusterCullingCallback.cpp @@ -30,12 +30,18 @@ ClusterCullingCallback::ClusterCullingCallback(): ClusterCullingCallback::ClusterCullingCallback(const ClusterCullingCallback& ccc,const CopyOp& copyop): Drawable::CullCallback(ccc,copyop), - _controlPoint(ccc._controlPoint),_normal(ccc._normal),_deviation(ccc._deviation) + _controlPoint(ccc._controlPoint), + _normal(ccc._normal), + _radius(ccc._radius), + _deviation(ccc._deviation) { } ClusterCullingCallback::ClusterCullingCallback(const osg::Vec3& controlPoint, const osg::Vec3& normal, float deviation): - _controlPoint(controlPoint),_normal(normal), _deviation(deviation) + _controlPoint(controlPoint), + _normal(normal), + _radius(-1.0f), + _deviation(deviation) { }