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
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-11-05 21:17:18 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-11-05 21:35:39 +0300
commitb053312bdd974d2014e71fd6c31c250962c0ae36 (patch)
treef9c43474cf855031109dc15e46f68a772fc15d2e /intern
parent60859d8912bdeff6b61232daf3561dafa31829ae (diff)
Fix T80043: missing Cycles displacement update when relinking output sockets
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/render/graph.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/graph.cpp b/intern/cycles/render/graph.cpp
index 485d6167ee3..088fda00abb 100644
--- a/intern/cycles/render/graph.cpp
+++ b/intern/cycles/render/graph.cpp
@@ -762,6 +762,7 @@ void ShaderGraph::compute_displacement_hash()
foreach (ShaderInput *input, node->inputs) {
int link_id = (input->link) ? input->link->parent->id : 0;
md5.append((uint8_t *)&link_id, sizeof(link_id));
+ md5.append((input->link) ? input->link->name().c_str() : "");
}
if (node->special_type == SHADER_SPECIAL_TYPE_OSL) {