Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-08-14 16:12:05 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-08-14 16:15:23 +0300
commitcc9255f8a8f1f3cf0f75c13a568dc9458e0ffb8e (patch)
treee03c4ed23b8c7f14dbe131795fbe6bab1192d4fc /source/blender/makesdna/DNA_ID.h
parentd648501e28049d294a69b38d7267d33a8cf2d39e (diff)
Sync rna_access rna property update cow check with depsgraph
This is a manual synchronization. If we need to re-use the same util in both areas it would be welcomed as well. For now this at least get things back to a working state.
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r--source/blender/makesdna/DNA_ID.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 634819b33ce..d7dfa70adad 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -419,9 +419,10 @@ typedef enum ID_Type {
ID_IS_STATIC_OVERRIDE((_id)) && \
(((ID *)(_id))->override_static->flag & STATICOVERRIDE_AUTO))
-/* No copy-on-write for these types. */
+/* 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_WM, ID_SCR, ID_SCRN, ID_IM, ID_MC, ID_LI))
+ (!ELEM(_id_type, ID_BR, ID_LS, ID_PAL, ID_IM))
#ifdef GS
# undef GS