Blender Git Commit Log

Git Commits -> Revision 65fab5b

November 29, 2017, 12:14 (GMT)
Preparing merge of id_override_static: add BKE_id_swap().

This function swaps the memory content of two data-blocks (of same type
obviously), while preserving most of the ID 'header' itself.

It is intended to be used to quickly and easily replace the data of an
existing ID by another one, presumably a temporary 'working' one,
without having to suffer from things like name changes,
registering/removing from Main database, etc.

Commit Details:

Full Hash: 65fab5b17f262b6a45f2b579f936de23e2663378
Parent Commit: e168e0f
Lines Changed: +70, -0

2 Modified Paths:

/source/blender/blenkernel/BKE_library.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+69, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021