diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-12-01 17:33:44 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-12-01 17:46:21 +0300 |
commit | 842310a9b0d70b48634e18e44775359bbd18ed4f (patch) | |
tree | 3533f8b18282abc139ad1b10db477e6e0467a7c0 /source/blender/blenkernel/intern/library.c | |
parent | 8512e284a001fdf464488112f4d19d598d37342b (diff) |
Outliner: add an option to "delete" libraries.
Caminandes team request. In current master it's not possible to do this in a total
clean way, so we are simply setting all user counts of given lib's datablocks to zero
(similar to rna_ID_user_clear()'s doing).
This is a bit crappy because it still lets datablocks floating around (with invalid
user count values), and requires a save & reload cycle to be finalized. But for now
it should be good enough. Propper implementation will be added to id-remap.
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
0 files changed, 0 insertions, 0 deletions