diff options
author | Thomas Dinges <blender@dingto.org> | 2015-06-12 00:09:38 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2015-06-12 00:09:38 +0300 |
commit | b66659377598999f2596288415c3b52224388532 (patch) | |
tree | cbfeda36a42492fca303cf814eb685f86dc911e9 /intern/cycles/render/graph.h | |
parent | 96d9801423be600268afc57c078063cd9906f609 (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/graph.h')
-rw-r--r-- | intern/cycles/render/graph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/graph.h b/intern/cycles/render/graph.h index 93341b56d99..9117fd03a95 100644 --- a/intern/cycles/render/graph.h +++ b/intern/cycles/render/graph.h @@ -84,6 +84,7 @@ enum ShaderNodeSpecialType { SHADER_SPECIAL_TYPE_IMAGE_SLOT, SHADER_SPECIAL_TYPE_CLOSURE, SHADER_SPECIAL_TYPE_EMISSION, + SHADER_SPECIAL_TYPE_BUMP, }; /* Enum |