forked from bartvdbraak/blender
Fix T44922: Split kernel renders black when using Bump node
Was missing feature detection in the BumpNode in the previous selective nodes compilation commit.
This commit is contained in:
parent
660234bfba
commit
23b068ce8a
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user