Blender Git Loki

Git Commits -> Revision a36a47f

Revision a36a47f by Bastien Montagne (master)
November 29, 2017, 16:23 (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: a36a47fe15eede1337992831d981245e89be4521
Parent Commit: 0439733
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021