Description: check if the number of bones has changed since the last rebind. Arguments: numBones - number of bones in the current animation rig.
| 29 | // Arguments: |
| 30 | // numBones - number of bones in the current animation rig. |
| 31 | bool GrannyBoneOffset::NeedRebind( unsigned numBones ) const |
| 32 | { |
| 33 | // yes if we have transforms and the skeleton rig doesn't match up |
| 34 | return m_riggedTransforms.size() != numBones && HaveTransforms(); |
| 35 | } |
| 36 | |
| 37 | void GrannyBoneOffset::ClearRigBindings() |
| 38 | { |
no test coverage detected