diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-24 10:27:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-24 10:27:13 +0300 |
commit | a709e8d6bb4aa56468fefac43f21f4b9a1b3a057 (patch) | |
tree | edd753df8c1f986b67cef4c5f829f44ab03b4140 /source/blender/blenkernel/intern | |
parent | 5df8a6eb9447a42cf6817e89543c5055e9aab225 (diff) |
Correct last commit
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/layer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/layer.c b/source/blender/blenkernel/intern/layer.c index c6795ce8278..fd231971121 100644 --- a/source/blender/blenkernel/intern/layer.c +++ b/source/blender/blenkernel/intern/layer.c @@ -383,6 +383,7 @@ void BKE_view_layer_copy_data( /* Copy layer collections and object bases. */ /* Inline 'BLI_duplicatelist' and update the active base. */ + BLI_listbase_clear(&view_layer_dst->object_bases); for (Base *base_src = view_layer_src->object_bases.first; base_src; base_src = base_src->next) { Base *base_dst = MEM_dupallocN(base_src); BLI_addtail(&view_layer_dst->object_bases, base_dst); |