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:
authorHallam Roberts <MysteryPancake>2022-03-21 19:33:24 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-03-21 19:41:17 +0300
commitc7e25a25b06659ed41e9f4ee101a0980135cdb24 (patch)
tree87b6e263b9384f84011da79070f420d8a8da2afd /intern/cycles/scene/shader_nodes.h
parentf92e3b39f18a3d3e29873faed98f6279571fbc4f (diff)
Fix T96132: Cycles RGB/Vector/Float Curve shaders ignore extrapolation setting
Differential Revision: https://developer.blender.org/D14393
Diffstat (limited to 'intern/cycles/scene/shader_nodes.h')
-rw-r--r--intern/cycles/scene/shader_nodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/scene/shader_nodes.h b/intern/cycles/scene/shader_nodes.h
index ef9e8772961..9aef5d3151f 100644
--- a/intern/cycles/scene/shader_nodes.h
+++ b/intern/cycles/scene/shader_nodes.h
@@ -1391,6 +1391,7 @@ class CurvesNode : public ShaderNode {
NODE_SOCKET_API(float, max_x)
NODE_SOCKET_API(float, fac)
NODE_SOCKET_API(float3, value)
+ NODE_SOCKET_API(bool, extrapolate)
protected:
using ShaderNode::constant_fold;
@@ -1421,6 +1422,7 @@ class FloatCurveNode : public ShaderNode {
NODE_SOCKET_API(float, max_x)
NODE_SOCKET_API(float, fac)
NODE_SOCKET_API(float, value)
+ NODE_SOCKET_API(bool, extrapolate)
};
class RGBRampNode : public ShaderNode {