diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-26 22:07:36 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-26 22:07:36 +0300 |
commit | 4d9697a5a90de08d30de373cf6dc83f8130fffdc (patch) | |
tree | 8c4d4b7d2a06f4a9aad42f767035161b20f74518 /source/blender/makesdna/DNA_ID.h | |
parent | 2977eb5a0e7e53531a156136e7c7df6022b6d684 (diff) | |
parent | 6b6d1e424c5b85d685d4aa8fa65cd22cd92939be (diff) |
Merge branch 'blender2.7'
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index ed063910dd6..5815a913d3b 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -479,14 +479,12 @@ enum { * and is only used (linked) inderectly through other libraries. */ LIB_TAG_INDIRECT = 1 << 1, - /* RESET_AFTER_USE Three flags used internally in readfile.c, - * to mark IDs needing to be read (only done once). */ - LIB_TAG_NEED_EXPAND = 1 << 3, - LIB_TAG_TESTEXT = (LIB_TAG_NEED_EXPAND | LIB_TAG_EXTERN), - LIB_TAG_TESTIND = (LIB_TAG_NEED_EXPAND | LIB_TAG_INDIRECT), /* RESET_AFTER_USE Flag used internally in readfile.c, - * to mark IDs needing to be linked from a library. */ - LIB_TAG_READ = 1 << 4, + * to mark IDs needing to be expanded (only done once). */ + LIB_TAG_NEED_EXPAND = 1 << 3, + /* RESET_AFTER_USE Flag used internally in readfile.c to mark ID + * placeholders for linked datablocks needing to be read. */ + LIB_TAG_ID_ID = 1 << 4, /* RESET_AFTER_USE */ LIB_TAG_NEED_LINK = 1 << 5, @@ -524,7 +522,7 @@ enum { LIB_TAG_NO_USER_REFCOUNT = 1 << 16, /* Datablock does not refcount usages of other IDs. */ /* Datablock was not allocated by standard system (BKE_libblock_alloc), do not free its memory * (usual type-specific freeing is called though). */ - LIB_TAG_NOT_ALLOCATED = 1 << 17, + LIB_TAG_NOT_ALLOCATED = 1 << 18, }; /* Tag given ID for an update in all the dependency graphs. */ |