Cycles: Remove Bump Node from the graph, if Height input is not connected.
authorThomas Dinges <blender@dingto.org>
Thu, 11 Jun 2015 21:09:38 +0000 (23:09 +0200)
committerThomas Dinges <blender@dingto.org>
Thu, 11 Jun 2015 21:09:38 +0000 (23:09 +0200)
commitb66659377598999f2596288415c3b52224388532
treecbfeda36a42492fca303cf814eb685f86dc911e9
parent96d9801423be600268afc57c078063cd9906f609
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.
intern/cycles/render/graph.cpp
intern/cycles/render/graph.h
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h