Blender Git Commit Log

Git Commits -> Revision 842310a

Revision 842310a by Bastien Montagne (master)
December 1, 2015, 14:46 (GMT)
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.

Commit Details:

Full Hash: 842310a9b0d70b48634e18e44775359bbd18ed4f
Parent Commit: 8512e28
Lines Changed: +201, -5

4 Modified Paths:

/source/blender/editors/space_outliner/outliner_edit.c (+97, -0) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+7, -0) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+2, -0) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+95, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021