diff options
author | Bastien Montagne <bastien@blender.org> | 2021-05-26 12:45:27 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-05-26 18:05:00 +0300 |
commit | ee849ca0f8f60c142dce7ecea1be74d382247c12 (patch) | |
tree | 2a97e1dddb70d668401fb740a97df1eab9c4746b /source/blender/blenkernel/intern/lib_remap.c | |
parent | 8f9599d17e80254928d2d72081a4c7e0dee64038 (diff) |
ID management: Do not assume that `NO_MAIN` means `NO_USER_REFCOUNT`
While this is still very fuzzy in current code, this old behavior makes
it close to impossible to efficiently use out-of-main temp data, as it
implies that we'd need to update refcounts everytime we add something
back into BMain (an 'un-refcount' ID usages when removing from BMain).
Now that we have two separate flags/tags for those two different things,
let's not merge them anymore.
Note that this is somewhat on-going process, still needs more checks and
cleanup. Related to T88555.
Diffstat (limited to 'source/blender/blenkernel/intern/lib_remap.c')
0 files changed, 0 insertions, 0 deletions