Blender Git Commit Log
Git Commits -> Revision 2b889ee
Revision 2b889ee by Benoit Bolsee (master) June 7, 2012, 08:16 (GMT) |
Fix [#31430] part 2: crash in iTaSC when end effector is a fixed bone. This situation was causing access to invalid index in the joint angle array although the end effector doesn't need any joint angle to compute its pause. Fixed this by changing the internal API of joint array: return pointer instead of reference so that NULL pointer can be returned instead of crashing when the index is invalid. |
Commit Details:
Full Hash: 2b889eea8d1e43e46c9a1dfb2ab3a253eab60e55
SVN Revision: 47561
Parent Commit: ef850d7
Lines Changed: +68, -45
11 Modified Paths:
/intern/itasc/Armature.cpp (+14, -14) (Diff)
/intern/itasc/Distance.cpp (+1, -1) (Diff)
/intern/itasc/kdl/jntarray.cpp (+11, -6) (Diff)
/intern/itasc/kdl/jntarray.hpp (+12, -6) (Diff)
/intern/itasc/kdl/joint.cpp (+17, -9) (Diff)
/intern/itasc/kdl/joint.hpp (+1, -1) (Diff)
/intern/itasc/kdl/kinfam_io.cpp (+1, -1) (Diff)
/intern/itasc/kdl/segment.cpp (+2, -2) (Diff)
/intern/itasc/kdl/segment.hpp (+2, -2) (Diff)
/intern/itasc/kdl/utilities/utility.h (+4, -0) (Diff)
/source/blender/ikplugin/intern/itasc_plugin.cpp (+3, -3) (Diff)
/intern/itasc/Distance.cpp (+1, -1) (Diff)
/intern/itasc/kdl/jntarray.cpp (+11, -6) (Diff)
/intern/itasc/kdl/jntarray.hpp (+12, -6) (Diff)
/intern/itasc/kdl/joint.cpp (+17, -9) (Diff)
/intern/itasc/kdl/joint.hpp (+1, -1) (Diff)
/intern/itasc/kdl/kinfam_io.cpp (+1, -1) (Diff)
/intern/itasc/kdl/segment.cpp (+2, -2) (Diff)
/intern/itasc/kdl/segment.hpp (+2, -2) (Diff)
/intern/itasc/kdl/utilities/utility.h (+4, -0) (Diff)
/source/blender/ikplugin/intern/itasc_plugin.cpp (+3, -3) (Diff)