Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-04-07 21:35:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-04-07 21:35:47 +0400
commit76420c2fecdd57acf4fe0440fb681cf8f46707e4 (patch)
treea2ce3b28bf0d93aa4b2e241cc36a949f364d2a82 /source/blender/makesdna/DNA_ID.h
parent4fae78f8d9e1acd55a5d068ea4f161687c8efc0c (diff)
appending libdata no longer breaks all external references.
Existing data is flagged with LIB_APPEND_TAG and all_local only has an option to only operate on un-flagged data. If you append an object thats linked to a material alredy linked in your scene, the material will not be made local. So at worst youll need to make local some of the datablocks. This is fairly simple and though my tests show it to work, do some tests on your own libraries before assuming its problem free. scripttemplate_mesh_edit wasnt updated with PyAPI changes and moved some functions into generic places.
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r--source/blender/makesdna/DNA_ID.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 080d2861a19..ce03bdc5e84 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -215,6 +215,8 @@ typedef struct Library {
#define LIB_FAKEUSER 512
/* free test flag */
#define LIB_DOIT 1024
+/* */
+#define LIB_APPEND_TAG 2048
#ifdef __cplusplus
}