[FIX] CAnimatedMeshSceneNode not update JointChildSceneNodes

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
wing64
Competition winner
Posts: 242
Joined: Wed Jul 23, 2008 2:35 am
Location: Thailand
Contact:

[FIX] CAnimatedMeshSceneNode not update JointChildSceneNodes

Post by wing64 »

When changed mesh by deserializeAttributes() or clone() in a class IAnimatedMeshSceneNode will not update JointChildSceneNodes variable because in checkJoints() not set JointsUsed variable back to false. The problem founded when load second mesh have more joint than first mesh e.g. mesh1 have joint 148 -> call deserializeAttributes() with mesh2 have joint 164 -> error will occurred at animateJoints() line 936 transferOnlyJointsHintsToMesh().
best regards,
wing64
Last edited by wing64 on Fri Dec 31, 2010 1:00 pm, edited 1 time in total.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I did not really get what you mean. Could you post some code snippet which you use?
wing64
Competition winner
Posts: 242
Joined: Wed Jul 23, 2008 2:35 am
Location: Thailand
Contact:

Post by wing64 »

Fixed by hybrid in SVN REV. 3526. Thanks hybrid.
Post Reply