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>2017-07-21 15:20:30 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-07-21 15:20:30 +0300
commit9edb7e49d7e5e69385f3a0434c568c79fad88cd8 (patch)
tree86920a3a0ca2b7ad11ce5a9c2d79786d793a7bf0 /source/blender/depsgraph/DEG_depsgraph.h
parent4e28d88ece20fabd773a0a2e7b3423227358b7c7 (diff)
Depsgraph: Fix missing material update when changing links in node tree
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r--source/blender/depsgraph/DEG_depsgraph.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h
index 76681e6611c..1941dc98d53 100644
--- a/source/blender/depsgraph/DEG_depsgraph.h
+++ b/source/blender/depsgraph/DEG_depsgraph.h
@@ -157,6 +157,11 @@ enum {
/* Update copy on write component without flushing down the road. */
DEG_TAG_COPY_ON_WRITE = (1 << 8),
+
+ /* Tag shading components for update.
+ * Only parameters of material changed).
+ */
+ DEG_TAG_SHADING_UPDATE = (1 << 9),
};
void DEG_id_tag_update(struct ID *id, int flag);
void DEG_id_tag_update_ex(struct Main *bmain,