Blender Git Loki

Git Commits -> Revision bf4f017

Revision bf4f017 by Bastien Montagne (master)
February 9, 2019, 12:24 (GMT)
BKE_object: add util to count number of scenes using an object.

Issue is, ob->id.us is not relevant anymore here, since several
collection might be referencing it inside of a same scene, that is still
only one usage from user perspective...

Note that for now we are just counting scenes instantiating an object,
time will say wether we need more refined/complete check (as a reminder,
most [all?] other Object usages are *not* refcounting ones).

Commit Details:

Full Hash: bf4f01779d818be876fde59914597308544c4d3a
Parent Commit: 1bf8551
Lines Changed: +14, -0

2 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+12, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021