diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-27 21:25:21 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-27 21:37:42 +0300 |
commit | 3ad2d6caef7410aec67ebde416f03c9a06014e8a (patch) | |
tree | 3df08217cdf457329221c1f452d21c7f74cebebe /source/blender/makesdna | |
parent | 8c4b5ac4c1b496e04bc44ed25f0e89335445ba51 (diff) |
Cleanup: better names and comments for library ID linking code.
Differential Revision: https://developer.blender.org/D4415
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index fa519ec8011..cd29a3c5bc4 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -397,7 +397,7 @@ typedef enum ID_Type { } ID_Type; /* Only used as 'placeholder' in .blend files for directly linked datablocks. */ -#define ID_ID MAKE_ID2('I', 'D') /* (internal use only) */ +#define ID_LINK_PLACEHOLDER MAKE_ID2('I', 'D') /* (internal use only) */ /* Deprecated. */ #define ID_SCRN MAKE_ID2('S', 'N') @@ -484,7 +484,7 @@ enum { 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, + LIB_TAG_ID_LINK_PLACEHOLDER = 1 << 4, /* RESET_AFTER_USE */ LIB_TAG_NEED_LINK = 1 << 5, |