Cycles: Remove Bump Node from the graph, if Height input is not connected.
This way we can avoid building the split kernel with NODE_FEATURE_BUMP enabled, in case we don't need it.
This commit is contained in:
@@ -652,7 +652,6 @@ 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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user