From 23b068ce8aa57130d48e24d98ccea518ee7584aa Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 2 Jun 2015 11:53:10 +0500 Subject: [PATCH] Fix T44922: Split kernel renders black when using Bump node Was missing feature detection in the BumpNode in the previous selective nodes compilation commit. --- intern/cycles/render/nodes.h | 4 ++++ 1 file changed, 4 insertions(+) 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; };