Bugfix [#29064] armature with curve contraint - crash
authorJoshua Leung <aligorith@gmail.com>
Mon, 7 Nov 2011 13:25:17 +0000 (13:25 +0000)
committerJoshua Leung <aligorith@gmail.com>
Mon, 7 Nov 2011 13:25:17 +0000 (13:25 +0000)
commit2b6e4f242230d99470ef70c7c00f1809a098d200
treec279b7969e54882a33648ed6e15ff6b56ab1b822
parent7b43abb90e2895292e183fcbca7140447025acd7
Bugfix [#29064] armature with curve contraint - crash

Spline IK and Auto-IK working together on the same bone chain could
crash due to the somewhat hacky way that they were sharing the same
list for the "iktree" forest. Resolved by doing what I should have
done from the beginning, and made Spline-IK save its ik chains off
into a separate list.

While this fixes the crash, it might be worth investigating outright
disabling this from working in this case, since it can be a bit
confusing to have it appear to not work.
source/blender/blenkernel/intern/armature.c
source/blender/blenloader/intern/readfile.c
source/blender/ikplugin/intern/iksolver_plugin.c
source/blender/makesdna/DNA_action_types.h