diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-11-29 15:13:16 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-11-29 19:23:25 +0300 |
commit | a36a47fe15eede1337992831d981245e89be4521 (patch) | |
tree | 8bce15cf84d467ac15a00ceed06f104a3e9c01c4 /source/blender/blenkernel/BKE_library_query.h | |
parent | 0439733cf8963dec13654c5b55556d8b11639d9c (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/BKE_library_query.h')
0 files changed, 0 insertions, 0 deletions