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
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2017-08-15 18:13:09 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-08-15 18:13:09 +0300
commitd56fb5b09dfdc06fd394059fd24dd579fe7e2e22 (patch)
tree9cd07bcf07d23cd95770f48310cc7684e3ca7d8e /source
parent5426d7134db97ce96a3c977369894ba20effb643 (diff)
Fix missing clear of Object->drawdata listbase in new copying code.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index 7470453ba77..b90371a448e 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -1209,6 +1209,7 @@ void BKE_object_copy_data(Main *UNUSED(bmain), Object *ob_dst, const Object *ob_
ob_dst->derivedFinal = NULL;
BLI_listbase_clear(&ob_dst->gpulamp);
+ BLI_listbase_clear(&ob_dst->drawdata);
BLI_listbase_clear(&ob_dst->pc_ids);
ob_dst->mpath = NULL;