Blender Git Commit Log

Git Commits -> Revision 952dbad

Revision 952dbad by Bastien Montagne (tmp-id-users)
January 5, 2016, 08:41 (GMT)
'users of ID' API (from id-remap).

This adds iterator over all (ID) users of a given datablock.
Mostly handy through the associated RNA API.

Note that it also had to fix an issue with RNA using DNA's ListBase struct (this
works OK with py, but breaks with cpp due to missing include - and we do not want to have to
include a DNA header just for that ;) ).

Reviewers: campbellbarton, sergey

Differential Revision: https://developer.blender.org/D1678

Commit Details:

Full Hash: 952dbad5c3ee6622ebeb086c8939a70551880b86
Parent Commit: 0a9935c
Lines Changed: +181, -2

6 Modified Paths:

/source/blender/blenkernel/BKE_library_query.h (+10, -0) (Diff)
/source/blender/blenkernel/intern/library_query.c (+125, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+39, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+5, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021