diff --git a/src/osgManipulator/Projector.cpp b/src/osgManipulator/Projector.cpp index bbae7ac9f..216ac6278 100644 --- a/src/osgManipulator/Projector.cpp +++ b/src/osgManipulator/Projector.cpp @@ -372,11 +372,14 @@ bool SphereProjector::isPointInFront(const PointerInfo& pi, const osg::Matrix& l } -SpherePlaneProjector::SpherePlaneProjector() +SpherePlaneProjector::SpherePlaneProjector(): + _onSphere(false) { } -SpherePlaneProjector::SpherePlaneProjector(osg::Sphere* sphere) : SphereProjector(sphere) +SpherePlaneProjector::SpherePlaneProjector(osg::Sphere* sphere) : + SphereProjector(sphere), + _onSphere(false) { }