diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-15 11:50:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-15 11:50:04 +0300 |
commit | 83fd3fbb433c3899f92de2078dd6a9350722da8d (patch) | |
tree | 4e149346d7afb837fbda7f3b4ac79ce97f77d54c /source/blender/blenkernel/BKE_library.h | |
parent | 12cd5617ea38039fcae77bdd6a8216b041fb0ce0 (diff) |
copy animdata and id-props when copying material node tree's to avoid double memory frees or node trees sharing animdata when they shouldnt.
Diffstat (limited to 'source/blender/blenkernel/BKE_library.h')
-rw-r--r-- | source/blender/blenkernel/BKE_library.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_library.h b/source/blender/blenkernel/BKE_library.h index 7c8a69b82d8..b859dbe6f51 100644 --- a/source/blender/blenkernel/BKE_library.h +++ b/source/blender/blenkernel/BKE_library.h @@ -42,6 +42,7 @@ struct bContext; void *alloc_libblock(struct ListBase *lb, short type, const char *name); void *copy_libblock(void *rt); +void copy_libblock_data(struct ID *id, const struct ID *id_from); void id_lib_extern(struct ID *id); void id_us_plus(struct ID *id); |