Not a bug
Posted: Wed Oct 27, 2004 9:45 pm
Why not change the ISceneNode::addAnimator() from
to
It would be great so the animator could "know" what node it is attached to.
Greetings,
schick
Code: Select all
virtual void addAnimator(ISceneNodeAnimator* animator)
{
if (animator)
{
Animators.push_back(animator);
animator->grab();
}
}
Code: Select all
virtual void addAnimator(ISceneNodeAnimator* animator)
{
if (animator)
{
Animators.push_back(animator);
animator->grab();
}
animator->animateNode( this, 0);
}
Greetings,
schick