Blender Git Commit Log

Git Commits -> Revision 2138fdb

Revision 2138fdb by Sybren A. Stüvel (master)
November 10, 2016, 09:49 (GMT)
Added bpy.types.ID.make_local() that can make a single ID block local.

This new `bpy.types.ID.make_local(clear_proxies=True)` allows Python
code to press the "Make Local" button on any ID block. I chose
`clear_proxies=True` as the default, since it's the default behaviour
of `id_make_local()` (defined in `library.c`).

The caller does need to take care of ensuring that linked-in objects
don't refer to local data, and that proxies aren't broken.

Reviewers: sergey, mont29

Reviewed By: mont29

Subscribers: dfelinto

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

Commit Details:

Full Hash: 2138fdb785a84c7eeed651284854ed6256198e4f
Parent Commit: 8b8e04c
Lines Changed: +26, -0

1 Modified Path:

/source/blender/makesrna/intern/rna_ID.c (+26, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021