Show
Ignore:
Timestamp:
12/16/08 21:49:12 (5 years ago)
Author:
robert
Message:

Build fixes for when the implict ref_ptr<> cast is not enabled

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/bvh/ReaderWriterBVH.cpp

    r9370 r9371  
    8080                    bone->setBindMatrixInBoneSpace( osg::Matrix::translate(offsetEndSite) ); 
    8181                    bone->setDataVariance( osg::Object::DYNAMIC ); 
    82                     parent->addChild( bone ); 
     82                    parent->addChild( bone.get() ); 
    8383 
    8484                    if ( _drawingFlag ) 
     
    9797            bone->setDefaultUpdateCallback(); 
    9898            bone->setDataVariance( osg::Object::DYNAMIC ); 
    99             parent->addChild( bone ); 
     99            parent->addChild( bone.get() ); 
    100100            _joints.push_back( JointNode(bone, 0) ); 
    101101