diff options
author | Ton Roosendaal <ton@blender.org> | 2005-09-29 20:37:37 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-09-29 20:37:37 +0400 |
commit | 1ec6cc49861d659d53af56352de318b0296a1848 (patch) | |
tree | 5a0427a095864c3aff906a9c966283a26c2deef5 /source/blender/src/headerbuttons.c | |
parent | 76a57eb82f085c52fb095d6055e4fa07dab95103 (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/src/headerbuttons.c')
-rw-r--r-- | source/blender/src/headerbuttons.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c index 674437d741e..b8555f9df43 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -1712,6 +1712,7 @@ void do_global_buttons2(short event) if(arm->id.us>1) { if(okee("Single user")) { ob->data= copy_armature(arm); + armature_rebuild_pose(ob, ob->data); arm->id.us--; } } |