blender/release/scripts
Bastien Montagne 4acf0f05a1 'users of ID' py API.
This mainly adds bpy.data.user_map() method, which goes over the whole Main database
to build a mapping (dict) {ID: {users_of_that_ID}}.

Very handy to check and debug ID usages, but could also be really valuable for py addons
creating temporary scenes, or some exporters, etc.

Note: current code in master's libquery misses some IDs (and reports some it should not,
like nodetrees), this is fixed in id-remap but still needs serious review before going to master.
This basically means that current bpy.data.user_map() **will not** report a complete and exhaustive
state of dependencies between IDs. Should work OK in most cases though.

Original work/idea comes from id-remap branch, was heavily reworked by @campbellbarton
and myself for master.

Reviewers: campbellbarton, sergey

Differential Revision: https://developer.blender.org/D1678
2016-01-06 19:48:10 +01:00
..
addons@407d0ea752 File Selector, support filepath dropping 2015-11-05 01:33:50 +11:00
addons_contrib@9f29e18707 File Selector, support filepath dropping 2015-11-05 01:33:50 +11:00
freestyle Freestyle: Fix for 'Distance from Object' modifiers without a target object. 2015-10-28 23:33:25 +09:00
modules 'users of ID' py API. 2016-01-06 19:48:10 +01:00
presets Fix T44614: Maya keymap left mouse click to add cut not working. 2015-05-06 23:59:21 +02:00
startup Save sys-info to file instead of a text block 2016-01-07 00:24:33 +11:00
templates_osl Cycles: Remove Westin closure. 2014-10-03 16:03:49 +02:00
templates_py Update template for changes in ray-cast 2015-12-02 19:18:30 +11:00