Allow non-initialized memory to be passed to BKE_id_copy_ex
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 19 Oct 2017 11:55:08 +0000 (13:55 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 19 Oct 2017 11:55:08 +0000 (13:55 +0200)
commit1cddab18ded9489f2f29b0655698f2e2e4e2076a
tree9da62f40bdcfa35af9650efe63945bb12b06f057
parent529d365b4d2a91923b365f409389c1f4c89b0a1f
Allow non-initialized memory to be passed to BKE_id_copy_ex

This only applies when LIB_ID_CREATE_NO_ALLOCATE flag is used and guarantees
that non-memset-zero memory can be used (or, that same memory chunk might be
used over and over again without need to clean it from the calleer).
source/blender/blenkernel/intern/library.c