[Bf-blender-cvs] [0cd720e3a5d] master: Fix pose copy storing action/animation in copybuffer
Sergey Sharybin
noreply at git.blender.org
Fri Jun 14 17:36:34 CEST 2019
Commit: 0cd720e3a5d5bf64770bf6a6df1c414cd0ded30b
Author: Sergey Sharybin
Date: Fri Jun 14 17:01:59 2019 +0200
Branches: master
https://developer.blender.org/rB0cd720e3a5d5bf64770bf6a6df1c414cd0ded30b
Fix pose copy storing action/animation in copybuffer
===================================================================
M source/blender/editors/armature/pose_transform.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list