- Timestamp:
- 12/09/09 19:45:46 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgAnimation/RigTransformSoftware
r10693 r10877 87 87 if (_bones.empty()) 88 88 { 89 osg::notify(osg::WARN) << "RigTransformSoftware::UniqBoneSetVertexSet no bones found" << std::endl;89 osg::notify(osg::WARN) << this << " RigTransformSoftware::UniqBoneSetVertexSet no bones found" << std::endl; 90 90 _result = osg::Matrix::identity(); 91 91 return; … … 97 97 { 98 98 const Bone* bone = _bones[i].getBone(); 99 if (!bone) 100 { 101 osg::notify(osg::WARN) << this << " RigTransformSoftware::computeMatrixForVertexSet Warning a bone is null, skip it" << std::endl; 102 continue; 103 } 99 104 const osg::Matrix& invBindMatrix = bone->getInvBindMatrixInSkeletonSpace(); 100 105 const osg::Matrix& matrix = bone->getMatrixInSkeletonSpace();
