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/blenloader | |
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/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 | ||||
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index f6742ac55cd..eedd116d31f 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -45,10 +45,6 @@ /* allow readfile to use deprecated functionality */ #define DNA_DEPRECATED_ALLOW -/* Allow using DNA struct members that are marked as private for read/write. - * Note: Each header that uses this needs to define its own way of handling - * it. There's no generic implementation, direct use does nothing. */ -#define DNA_PRIVATE_READ_WRITE_ALLOW #include "DNA_anim_types.h" #include "DNA_armature_types.h" diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index ebc46d7573b..e0746c7c3dd 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -93,10 +93,6 @@ /* allow writefile to use deprecated functionality (for forward compatibility code) */ #define DNA_DEPRECATED_ALLOW -/* Allow using DNA struct members that are marked as private for read/write. - * Note: Each header that uses this needs to define its own way of handling - * it. There's no generic implementation, direct use does nothing. */ -#define DNA_PRIVATE_READ_WRITE_ALLOW #include "DNA_anim_types.h" #include "DNA_armature_types.h" |