diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-15 02:42:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-15 02:42:39 +0300 |
commit | 18e0c5ea5b97effb9f6af28a8b069feb7be6ed86 (patch) | |
tree | 844d25afcd5203d91a8b13444edec4c6bd56a48c /source/blender/blenloader | |
parent | 35b78d9807c49ba37e038eda85c672c72dee0247 (diff) |
Cleanup: deprecated flags to named DNA flags
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 98277bab2a3..9adab610530 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -2869,8 +2869,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) } LISTBASE_FOREACH (Text *, text, &bmain->texts) { - enum { TXT_READONLY = 1 << 8, TXT_FOLLOW = 1 << 9}; - text->flags &= ~(TXT_READONLY | TXT_FOLLOW); + text->flags &= ~(TXT_FLAG_DEPRECATED_8 | TXT_FLAG_DEPRECATED_9); } } |