Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-09-29 20:37:37 +0400
committerTon Roosendaal <ton@blender.org>2005-09-29 20:37:37 +0400
commit1ec6cc49861d659d53af56352de318b0296a1848 (patch)
tree5a0427a095864c3aff906a9c966283a26c2deef5 /source/blender/blenloader/intern/readfile.c
parent76a57eb82f085c52fb095d6055e4fa07dab95103 (diff)
Orange report bug; Adding a new scene, choose "link obdata" gives corrupt
memory. Poses should be relinked right after duplicating, not during a redraw (when more objects use same armature). Added in readfile a patch to make sure files saved with this duplicate error can still be used.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 1fcc572238c..cf1236e269e 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2266,6 +2266,7 @@ static void direct_link_pose(FileData *fd, bPose *pose) {
chan->parent= newdataadr(fd, chan->parent);
chan->child= newdataadr(fd, chan->child);
direct_link_constraints(fd, &chan->constraints);
+ chan->iktree.first= chan->iktree.last= NULL;
}
}