Fixed warnings

This commit is contained in:
Robert Osfield 2016-09-05 13:44:59 +01:00
parent 2c4a5319bf
commit ec344a85b4
3 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,8 @@ void AnimationManagerBase::operator()(osg::Node* node, osg::NodeVisitor* nv)
AnimationManagerBase::AnimationManagerBase(const AnimationManagerBase& b, const osg::CopyOp& copyop) :
osg::Object(b, copyop),
osg::Callback(b, copyop),
osg::NodeCallback(b,copyop) // TODO check this
{
const AnimationList& animationList = b.getAnimationList();

View File

@ -21,6 +21,8 @@ CameraManipulator::CameraManipulator()
CameraManipulator::CameraManipulator(const CameraManipulator& mm, const CopyOp& copyOp):
osg::Object(mm,copyOp),
osg::Callback(mm,copyOp),
inherited(mm, copyOp),
_intersectTraversalMask(mm._intersectTraversalMask),
_autoComputeHomePosition(mm._autoComputeHomePosition),

View File

@ -48,6 +48,8 @@ StandardManipulator::StandardManipulator( int flags )
/// Constructor.
StandardManipulator::StandardManipulator( const StandardManipulator& uim, const CopyOp& copyOp ):
osg::Object(uim,copyOp),
osg::Callback(uim,copyOp),
inherited( uim, copyOp ),
_thrown( uim._thrown ),
_allowThrow( uim._allowThrow ),