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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-04-17 13:47:28 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-04-17 13:47:28 +0300
commit17041bd895eadca1bff3bf88bc8b0f9982fe4573 (patch)
tree72ef6bdfd9a7f801e97206ca16abe8ed20fcc1c7 /source/blender/makesdna/DNA_ID.h
parent2408a482c032e4df9c091f9fa854785bb08963b3 (diff)
Depsgraph: Fix unwanted node tree copy-over
Was caused by two things from the past: - Tagging would set id->recalc to COW update flag. This one is to be ignored. - Particle tagging will use psys recalc flags on id->recalc, but we only need to use flags from particles. Otherwise it will be some collisions in bit masks.
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r--source/blender/makesdna/DNA_ID.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 778aaec7d19..ba4b0970313 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -460,6 +460,7 @@ enum {
LIB_TAG_NOT_ALLOCATED = 1 << 16,
};
+/* WARNING - when adding flags check on PSYS_RECALC */
enum {
/* RESET_AFTER_USE, used by update code (depsgraph). */
ID_RECALC_NONE = 0,