diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:42:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:53:26 +0300 |
commit | 2e99a74df9ecfa18c4081cdcc82227e2e24f14b1 (patch) | |
tree | 92b1c899183f07cb4da05de56b00779422768ad7 /intern/cycles/render/nodes.cpp | |
parent | 879b89e96722bf2ff7e20e94f4e10ed8770f3209 (diff) |
Cleanup: use '#if 0' for commented code-block
Diffstat (limited to 'intern/cycles/render/nodes.cpp')
-rw-r--r-- | intern/cycles/render/nodes.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/render/nodes.cpp b/intern/cycles/render/nodes.cpp index 5792d2458d1..7ce65a0d1c9 100644 --- a/intern/cycles/render/nodes.cpp +++ b/intern/cycles/render/nodes.cpp @@ -4425,12 +4425,12 @@ void HairInfoNode::compile(SVMCompiler &compiler) if (!out->links.empty()) { compiler.add_node(NODE_HAIR_INFO, NODE_INFO_CURVE_TANGENT_NORMAL, compiler.stack_assign(out)); } - - /*out = output("Fade"); +#if 0 + out = output("Fade"); if(!out->links.empty()) { compiler.add_node(NODE_HAIR_INFO, NODE_INFO_CURVE_FADE, compiler.stack_assign(out)); - }*/ - + } +#endif out = output("Random"); if (!out->links.empty()) { int attr = compiler.attribute(ATTR_STD_CURVE_RANDOM); |