From Cedric Pinson, Fix osgAnimation warning and errors for Bone.cpp

This commit is contained in:
Cedric Pinson 2009-06-16 12:22:36 +00:00
parent c1077e6aa9
commit a6e57f6e46

View File

@ -30,10 +30,10 @@ osgAnimation::Bone::Bone(const Bone& b, const osg::CopyOp& copyop) :
_position(b._position),
_rotation(b._rotation),
_scale(b._scale),
_needToRecomputeBindMatrix(true),
_bindInBoneSpace(b._bindInBoneSpace),
_invBindInSkeletonSpace(b._invBindInSkeletonSpace),
_boneInSkeletonSpace(b._boneInSkeletonSpace),
_needToRecomputeBindMatrix(true)
_boneInSkeletonSpace(b._boneInSkeletonSpace)
{
osg::ref_ptr<osg::NodeCallback> updatecallback = getUpdateCallback();
setUpdateCallback(0);