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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-02-27 21:25:21 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-02-27 21:37:42 +0300
commit3ad2d6caef7410aec67ebde416f03c9a06014e8a (patch)
tree3df08217cdf457329221c1f452d21c7f74cebebe /source/blender/blenkernel/intern/idcode.c
parent8c4b5ac4c1b496e04bc44ed25f0e89335445ba51 (diff)
Cleanup: better names and comments for library ID linking code.
Differential Revision: https://developer.blender.org/D4415
Diffstat (limited to 'source/blender/blenkernel/intern/idcode.c')
-rw-r--r--source/blender/blenkernel/intern/idcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/idcode.c b/source/blender/blenkernel/intern/idcode.c
index d34dd2e70df..1c63f184bde 100644
--- a/source/blender/blenkernel/intern/idcode.c
+++ b/source/blender/blenkernel/intern/idcode.c
@@ -87,10 +87,10 @@ static IDType idtypes[] = {
{ID_WS, "WorkSpace", "workspaces", BLT_I18NCONTEXT_ID_WORKSPACE, IDTYPE_FLAGS_ISLINKABLE},
/** Keep last, not an ID exactly, only include for completeness */
- {ID_ID, "ID", "ids", BLT_I18NCONTEXT_ID_ID, 0 }, /* plural is fake */
+ {ID_LINK_PLACEHOLDER, "Link Placeholder", "link_placeholders", BLT_I18NCONTEXT_ID_ID, 0}, /* plural is fake */
};
-/* -1 for ID_ID */
+/* -1 for ID_LINK_PLACEHOLDER */
BLI_STATIC_ASSERT((ARRAY_SIZE(idtypes) - 1 == MAX_LIBARRAY), "Missing IDType");
static IDType *idtype_from_name(const char *str)