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
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2015-06-12 00:09:38 +0300
committerThomas Dinges <blender@dingto.org>2015-06-12 00:09:38 +0300
commitb66659377598999f2596288415c3b52224388532 (patch)
treecbfeda36a42492fca303cf814eb685f86dc911e9 /intern/cycles/render/nodes.h
parent96d9801423be600268afc57c078063cd9906f609 (diff)
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.
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r--intern/cycles/render/nodes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h
index 4e78d58aaf3..7ec20f0879b 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -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;
}