Bug #292 ยป p.patch
SCOLPack/SCOLAnim.cpp (working copy) | ||
---|---|---|
|
||
mTrack = NULL ;
|
||
|
||
animation->getNodeAnimTrack(&mTrack,(unsigned short)node) ;
|
||
|
||
|
||
long index = (long)node;
|
||
|
||
index = index & 0xffff;
|
||
|
||
animation->getNodeAnimTrack(&mTrack,(unsigned short)index) ;
|
||
|
||
|
||
|
||
if(mTrack==NULL) {MMset(m,0,NIL); return 0; }
|
||
|
||
int t = OBJfindTH(m, OBJtypebyname("SO3_ANIMTRACK"), (int)(mTrack)) ;
|
SO3Animation/SO3AnimTrack.cpp (working copy) | ||
---|---|---|
SAnimTrack::SAnimTrack(std::string animationTrackName, SAnim* animation, SNode* node) : SData(animationTrackName)
|
||
{
|
||
type = SAnimTrack::SO3_NODE_TRACK;
|
||
O3NodeAnimationTrack = animation->getOgreAnimationPointer()->createNodeTrack((unsigned short)node, node->GetOgreSceneNodePointer());
|
||
long index = (long)node;
|
||
index = index & 0xffff;
|
||
O3NodeAnimationTrack = animation->getOgreAnimationPointer()->createNodeTrack((unsigned short)index, node->GetOgreSceneNodePointer());
|
||
strAssociatedNode = node->GetName();
|
||
|
||
O3VertexAnimationTrack = 0;
|