diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-08-15 18:13:09 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-08-15 18:13:09 +0300 |
commit | d56fb5b09dfdc06fd394059fd24dd579fe7e2e22 (patch) | |
tree | 9cd07bcf07d23cd95770f48310cc7684e3ca7d8e /source/blender/blenkernel | |
parent | 5426d7134db97ce96a3c977369894ba20effb643 (diff) |
Fix missing clear of Object->drawdata listbase in new copying code.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 1 |
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; |