[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.

[FIX] CAnimatedMeshSceneNode not update JointChildSceneNodes

Postby wing64 » Sat Dec 04, 2010 4:16 pm

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.
wing64
Competition winner
 
Posts: 202
Joined: Wed Jul 23, 2008 2:35 am
Location: Thailand

Postby hybrid » Sun Dec 05, 2010 11:18 pm

I did not really get what you mean. Could you post some code snippet which you use?
hybrid
Admin
 
Posts: 13947
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany

Postby wing64 » Fri Dec 31, 2010 1:01 pm

Fixed by hybrid in SVN REV. 3526. Thanks hybrid.
wing64
Competition winner
 
Posts: 202
Joined: Wed Jul 23, 2008 2:35 am
Location: Thailand


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 0 guests