Blender Git Commit Log

Git Commits -> Revision 35932aa

May 26, 2021, 09:45 (GMT)
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.

Commit Details:

Full Hash: 35932aaf1dd1e3b8acea46d48e6abe00e6cb8a7b
Parent Commit: 2a09634
Lines Changed: +4, -11

2 Modified Paths:

/source/blender/blenkernel/intern/lib_id.c (+0, -8) (Diff)
/source/blender/blenkernel/intern/lib_query.c (+4, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021