Blender Git Loki

Git Commits -> Revision ee849ca

Revision ee849ca by Bastien Montagne (master)
May 26, 2021, 15:05 (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: ee849ca0f8f60c142dce7ecea1be74d382247c12
Parent Commit: 8f9599d
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021