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

Method AddAnimationLayerAllBones

trinity/Tr2GrannyAnimation.cpp:2208–2226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2206
2207
2208void Tr2GrannyAnimation::AddAnimationLayerAllBones( const char* layerName )
2209{
2210 Tr2GrannyAnimationLayer* layer;
2211 if( !strcmp( layerName, "" ) )
2212 {
2213 layer = GetAnimationLayer( nullptr );
2214 }
2215 else
2216 {
2217 layer = GetAnimationLayer( layerName );
2218 }
2219
2220 if( !layer )
2221 {
2222 return;
2223 }
2224
2225 layer->AddAllBones( this );
2226}
2227
2228
2229void Tr2GrannyAnimation::RemoveAnimationLayerBone( const char* layerName, const char* boneName )

Callers

nothing calls this directly

Calls 1

AddAllBonesMethod · 0.80

Tested by

no test coverage detected