diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-14 00:40:45 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-14 00:40:45 +0300 |
commit | 2ff7494e6d51116f8a408ed8b3d559aa9d9db291 (patch) | |
tree | 91f2fb01d326c3bcca40f0762a484ee5f01b3868 /intern/cycles/render | |
parent | 1428435a9a5d0ab383b9115feb4d56c7682cc910 (diff) |
Fix T64561: wrong colorspace for Cycles displacement nodes
Diffstat (limited to 'intern/cycles/render')
-rw-r--r-- | intern/cycles/render/nodes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/render/nodes.cpp b/intern/cycles/render/nodes.cpp index 86cc2030d1b..22b39701ef2 100644 --- a/intern/cycles/render/nodes.cpp +++ b/intern/cycles/render/nodes.cpp @@ -268,7 +268,7 @@ ShaderNode *ImageTextureNode::clone() const node->slot = -1; node->is_float = -1; node->compress_as_srgb = false; - node->colorspace = u_colorspace_raw; + node->colorspace = colorspace; return node; } @@ -453,7 +453,7 @@ ShaderNode *EnvironmentTextureNode::clone() const node->slot = -1; node->is_float = -1; node->compress_as_srgb = false; - node->colorspace = u_colorspace_raw; + node->colorspace = colorspace; return node; } |