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:
-rw-r--r--source/blender/editors/armature/pose_transform.c2
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);