diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-26 16:14:56 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-26 22:05:28 +0300 |
commit | 6b6d1e424c5b85d685d4aa8fa65cd22cd92939be (patch) | |
tree | 015ee803fe56c111f845b38c845efcc58d0c40fe /source/blender/makesdna/DNA_ID.h | |
parent | 564d252d60bfe9d6a934c97b683f167c5f47014e (diff) |
Cleanup: prevent future issues with ID.tag overflow, clarify somes names.
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 176ea38d89e..20a3aa1d04e 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -319,14 +319,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, |