diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-02 09:53:10 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-02 09:53:10 +0300 |
commit | 23b068ce8aa57130d48e24d98ccea518ee7584aa (patch) | |
tree | 79528118bda6a776ce519a53a711977df07927fe /intern/cycles/render | |
parent | 660234bfba435b96ba0e6106b8366186dafd661c (diff) |
Fix T44922: Split kernel renders black when using Bump node
Was missing feature detection in the BumpNode in the previous selective nodes
compilation commit.
Diffstat (limited to 'intern/cycles/render')
-rw-r--r-- | intern/cycles/render/nodes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index d1b30db18a9..4e78d58aaf3 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -651,6 +651,10 @@ class BumpNode : public ShaderNode { public: SHADER_NODE_CLASS(BumpNode) bool has_spatial_varying() { return true; } + virtual int get_feature() { + /* TODO(sergey): Check for incoming links. */ + return NODE_FEATURE_BUMP; + } bool invert; }; |