Fix [#31544]: iTaSC assertion when creating armature with no joint. This degenerated...
authorBenoit Bolsee <benoit.bolsee@online.be>
Mon, 4 Jun 2012 22:29:17 +0000 (22:29 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Mon, 4 Jun 2012 22:29:17 +0000 (22:29 +0000)
commit8db6e682e9c0d55a34c64a490cbf29ff301c4973
tree306b1eb927d6768f88a149167c62d9724f8f6814
parent0d3b19e7340e0f3fa075e90e695ddf760529b925
Fix [#31544]: iTaSC assertion when creating armature with no joint. This degenerated case can be obtained by having a single bone in the IK chain and locking all 3 axis. This case was causing an assert in the KDL library. The bug is fixed by simply not creating the IK scene in this case.
intern/itasc/Armature.cpp
intern/itasc/Armature.hpp
intern/itasc/FixedObject.cpp
intern/itasc/FixedObject.hpp
intern/itasc/MovingFrame.cpp
intern/itasc/MovingFrame.hpp
intern/itasc/Object.hpp
intern/itasc/Scene.cpp