diff options
author | Ton Roosendaal <ton@blender.org> | 2006-09-06 13:51:30 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-09-06 13:51:30 +0400 |
commit | 02baf30e55b1159bb9e347998caaa8fac12afb81 (patch) | |
tree | 0580882d0f65b0d9e7ccb941aa46ae60f996a1ea /source/blender/blenkernel/BKE_library.h | |
parent | 6f47e5fa84f80739e5fb19e08cbe472eb42f7f32 (diff) |
New feature: imporant missing option for use of Libraries: access to to the
file path where library is read from.
In Outliner, choose new view mode "Libraries". A ctrl+click on the library
name then allows to change the file name or path. Note that when you change
the file name, nothing is being re-read or re-linked. Only after saving the
.blend file and reading it back the new library is used.
This feature allows to cleanup library usage. You can make files relative,
or reorganize a project. Just keep in mind that you cannot use this feature
to fix .blend files that link to non-existing other files. That because the
lost data is actually not read at all, so cannot be saved either.
Currently, library errors are only printed in the console... quite
important to keep track of when using Libraries.
Implementation note: this Outliner view mode can become expanded to a full
"Database view", showing something similar as SHIFT+F4 databrowse does now.
Diffstat (limited to 'source/blender/blenkernel/BKE_library.h')
-rw-r--r-- | source/blender/blenkernel/BKE_library.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_library.h b/source/blender/blenkernel/BKE_library.h index ac438ec95bd..c51ebe25226 100644 --- a/source/blender/blenkernel/BKE_library.h +++ b/source/blender/blenkernel/BKE_library.h @@ -50,6 +50,8 @@ void id_us_plus(struct ID *id); int new_id(struct ListBase *lb, struct ID *id, const char *name); struct ListBase *wich_libbase(struct Main *mainlib, short type); + +#define MAX_LIBARRAY 40 int set_listbasepointers(struct Main *main, struct ListBase **lb); void free_libblock(struct ListBase *lb, void *idv); |