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

Method RemoveAnimationLayerBone

trinity/Tr2GrannyAnimation.cpp:2229–2247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2227
2228
2229void Tr2GrannyAnimation::RemoveAnimationLayerBone( const char* layerName, const char* boneName )
2230{
2231 Tr2GrannyAnimationLayer* layer;
2232 if( !strcmp( layerName, "" ) )
2233 {
2234 layer = GetAnimationLayer( nullptr );
2235 }
2236 else
2237 {
2238 layer = GetAnimationLayer( layerName );
2239 }
2240
2241 if( !layer )
2242 {
2243 return;
2244 }
2245
2246 layer->RemoveBone( this, boneName );
2247}
2248
2249std::vector<std::string> Tr2GrannyAnimation::GetAnimationNames() const
2250{

Callers

nothing calls this directly

Calls 1

RemoveBoneMethod · 0.80

Tested by

no test coverage detected