Fix T84758: Revert "LibOverride: Also consider regular embedded IDs as virtual overrides."
This made Blender considers all materials to be overridden.
This reverts commit 2aa7bc06e7.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user