diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-14 18:01:59 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-14 18:35:00 +0300 |
commit | 0cd720e3a5d5bf64770bf6a6df1c414cd0ded30b (patch) | |
tree | 38cfd3138e369619716c683b95ddc73f67638205 /source/blender | |
parent | 33571be2af590d6f13f91bd2f3c292a8690a7bdc (diff) |
Fix pose copy storing action/animation in copybuffer
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/armature/pose_transform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/pose_transform.c b/source/blender/editors/armature/pose_transform.c index 365414b4884..325e6eaee2a 100644 --- a/source/blender/editors/armature/pose_transform.c +++ b/source/blender/editors/armature/pose_transform.c @@ -694,7 +694,9 @@ static int pose_copy_exec(bContext *C, wmOperator *op) */ Main *temp_bmain = BKE_main_new(); Object ob_copy = *ob; + ob_copy.adt = NULL; bArmature arm_copy = *((bArmature *)ob->data); + arm_copy.adt = NULL; ob_copy.data = &arm_copy; BLI_addtail(&temp_bmain->objects, &ob_copy); BLI_addtail(&temp_bmain->armatures, &arm_copy); |