diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-02 14:21:21 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-02 14:32:25 +0300 |
commit | 1abd909a92b696eb556b071671314f35d5d5bde0 (patch) | |
tree | dc5b8f4e320d64be376d6b7fb142db82372653cc /source/blender/makesdna/intern/makesdna.c | |
parent | 60090384f52cc9b3b87455657139a208dfd0ad19 (diff) |
Cleanup: remove DNA_PRIVATE_WORKSPACE hacks.
This is just not practical to do for the code as a whole, and having it as an
exception for one specific data structure is not that helpful. This has only
been in the way for me when refactoring code.
Diffstat (limited to 'source/blender/makesdna/intern/makesdna.c')
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index 4e16aec5fdc..2467a347295 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -617,17 +617,6 @@ static int preprocess_include(char *maindata, const int maindata_len) a -= 13; cp += 13; } - else if (strncmp("DNA_PRIVATE_WORKSPACE", cp, 21) == 0) { - /* Check for DNA_PRIVATE_WORKSPACE_READ_WRITE */ - if (strncmp("_READ_WRITE", cp + 21, 11) == 0) { - a -= 31; - cp += 31; - } - else { - a -= 20; - cp += 20; - } - } else { md[0] = cp[0]; md++; |