diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-01-21 13:13:47 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-01-21 13:13:47 +0300 |
commit | 463941b6a17369d9cdc8030c03b261763837b13d (patch) | |
tree | a10b8ddf25c403652f4b69394442285f4999f265 /source/blender/makesdna | |
parent | c81549af28d1fb50b1f44f71cd2e2218746ec262 (diff) | |
parent | 9f66062da73e954f7c00acd9d5d5ead9ac1e8863 (diff) |
Merge remote-tracking branch 'origin/blender-v2.82-release'
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index fce68b11fe4..a75b01f2f75 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -457,9 +457,8 @@ typedef enum ID_Type { (!ID_IS_LINKED((_id)) && ID_IS_OVERRIDE_LIBRARY((_id)) && \ (((ID *)(_id))->override_library->flag & OVERRIDE_LIBRARY_AUTO)) -/* No copy-on-write for these types. - * Keep in sync with check_datablocks_copy_on_writable and deg_copy_on_write_is_needed */ -#define ID_TYPE_IS_COW(_id_type) (!ELEM(_id_type, ID_BR, ID_LS, ID_PAL, ID_IM)) +/* Check whether datablock type is covered by copy-on-write. */ +#define ID_TYPE_IS_COW(_id_type) (!ELEM(_id_type, ID_BR, ID_PAL, ID_IM)) #ifdef GS # undef GS |