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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-06-02 09:53:10 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-06-02 09:53:10 +0300
commit23b068ce8aa57130d48e24d98ccea518ee7584aa (patch)
tree79528118bda6a776ce519a53a711977df07927fe /intern
parent660234bfba435b96ba0e6106b8366186dafd661c (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')
-rw-r--r--intern/cycles/render/nodes.h4
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;
};