diff options
author | Bastien Montagne <bastien@blender.org> | 2021-01-16 12:28:47 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-01-16 12:28:47 +0300 |
commit | 79dd9fedb242c34646df1af951b8d810ec30c787 (patch) | |
tree | 580cf5011b64f5aebda7449acd3d79d426e07143 /source/blender/makesdna | |
parent | 3cc1bcce4ff7417bd0659e1171fd370e29385fc2 (diff) |
Fix T84758: Revert "LibOverride: Also consider regular embedded IDs as virtual overrides."
This made Blender considers all materials to be overridden.
This reverts commit 2aa7bc06e7a6adb196e552fca3289ed7b7a18f3f.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 840b9e23edf..263ce2203e9 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -515,7 +515,7 @@ typedef enum ID_Type { ((const ID *)(_id))->override_library->reference != NULL) #define ID_IS_OVERRIDE_LIBRARY_VIRTUAL(_id) \ - ((((const ID *)(_id))->flag & (LIB_EMBEDDED_DATA_LIB_OVERRIDE | LIB_EMBEDDED_DATA)) != 0) + ((((const ID *)(_id))->flag & LIB_EMBEDDED_DATA_LIB_OVERRIDE) != 0) #define ID_IS_OVERRIDE_LIBRARY(_id) \ (ID_IS_OVERRIDE_LIBRARY_REAL(_id) || ID_IS_OVERRIDE_LIBRARY_VIRTUAL(_id)) |