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:
authorDalai Felinto <dfelinto@gmail.com>2019-11-06 23:49:17 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-11-06 23:49:17 +0300
commitaf33dbd7145098fecf32d7a0b57c93d3cb63dc18 (patch)
treed199d1e3a7c6356d37c175131be31a40ae08b2fb /intern/cycles
parent3ed40972920dc6bf6d37c1d0aaf2c569c76f38e4 (diff)
parent85637311c28f49b55286d3287d4c7cefbcbca18a (diff)
Merge remote-tracking branch 'origin/blender-v2.81-release'
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/render/osl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/cycles/render/osl.cpp b/intern/cycles/render/osl.cpp
index 19d27a7ef46..889552f49cd 100644
--- a/intern/cycles/render/osl.cpp
+++ b/intern/cycles/render/osl.cpp
@@ -673,9 +673,6 @@ void OSLCompiler::add(ShaderNode *node, const char *name, bool isfilepath)
/* checks to untangle graphs */
if (node_skip_input(node, input))
continue;
- /* already has default value assigned */
- else if (input->flags() & SocketType::DEFAULT_LINK_MASK)
- continue;
string param_name = compatible_name(node, input);
const SocketType &socket = input->socket_type;