MCPcopy Create free account
hub / github.com/carbonengine/trinity / NeedRebind

Method NeedRebind

trinity/GrannyBoneOffset.cpp:31–35  ·  view source on GitHub ↗

Description: check if the number of bones has changed since the last rebind. Arguments: numBones - number of bones in the current animation rig.

Source from the content-addressed store, hash-verified

29// Arguments:
30// numBones - number of bones in the current animation rig.
31bool 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
37void GrannyBoneOffset::ClearRigBindings()
38{

Callers 1

PrePhysicsAnimationMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected