diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-11-07 17:25:17 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-11-07 17:25:17 +0400 |
commit | 2b6e4f242230d99470ef70c7c00f1809a098d200 (patch) | |
tree | c279b7969e54882a33648ed6e15ff6b56ab1b822 /source/blender/blenloader | |
parent | 7b43abb90e2895292e183fcbca7140447025acd7 (diff) |
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.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 9f6ce4eb79b..ba1d333f44f 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4064,6 +4064,7 @@ static void direct_link_pose(FileData *fd, bPose *pose) direct_link_motionpath(fd, pchan->mpath); pchan->iktree.first= pchan->iktree.last= NULL; + pchan->siktree.first= pchan->siktree.last= NULL; /* incase this value changes in future, clamp else we get undefined behavior */ CLAMP(pchan->rotmode, ROT_MODE_MIN, ROT_MODE_MAX); |