diff options
author | Alex Fraser <alex@phatcore.com> | 2011-10-26 14:49:21 +0400 |
---|---|---|
committer | Alex Fraser <alex@phatcore.com> | 2011-10-26 14:49:21 +0400 |
commit | f09d36d6bce6f2fb9f618f9bf57a91a3502ba3eb (patch) | |
tree | 3f693ae09a7d9352c8621b863ad10150b3d85cbc /source/blender/blenkernel/BKE_library.h | |
parent | 944b07f5b7339f45bfb0bded22f64458cca3980b (diff) |
Fix [#28772] Filepaths are not remmaped after making a library item local
Added a visitor function to simplify processing of file paths that are attached to IDs. This is used for images, and could be used for other ID types in future.
Code reviewed by ideasman_42.
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 947eafa9dd3..77ce7a50956 100644 --- a/source/blender/blenkernel/BKE_library.h +++ b/source/blender/blenkernel/BKE_library.h @@ -59,6 +59,7 @@ int id_copy(struct ID *id, struct ID **newid, int test); int id_unlink(struct ID *id, int test); int new_id(struct ListBase *lb, struct ID *id, const char *name); +void id_clear_lib_data(struct ListBase *lb, struct ID *id); struct ListBase *which_libbase(struct Main *mainlib, short type); |