Page 1 of 1

Bone does not remove tag points

Posted: Sun Nov 01, 2020 10:19 pm
by Frankincense
It looks like Bone::removeTagPoint( TagPoint *child ) attempts to remove TagPoints from its mChildren node list instead of its mTagPointChildren list -
https://github.com/OGRECave/ogre-next/b ... e.cpp#L192

I believe this:

Code: Select all

if( child->mParentIndex < mChildren.size() )
should be:

Code: Select all

if( child->mParentIndex < mTagPointChildren.size() )
Happy to be corrected though!

Re: Bone does not remove tag points

Posted: Mon Nov 02, 2020 4:42 pm
by dark_sylinc
Well spotted!

Classic copy-paste error. Fixed in all branches.

Thanks.
Cheers!