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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-08-24 15:36:18 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-08-24 15:36:18 +0300
commit658a9c6cf5228efafd9e7b8d5282f09019f4c4f2 (patch)
tree05815144ef68abe6d983bd9c8d282406cea074e8 /intern/cycles/render/graph.cpp
parente92e90c30e148bf216fbf9829cdc4a7058cfd6f8 (diff)
Cycles: Cleanup, style
I wouldn't mind changing style to have space after keyword, but there was no official code style change proposed.
Diffstat (limited to 'intern/cycles/render/graph.cpp')
-rw-r--r--intern/cycles/render/graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/graph.cpp b/intern/cycles/render/graph.cpp
index 3a9e2981418..eea1bed58dc 100644
--- a/intern/cycles/render/graph.cpp
+++ b/intern/cycles/render/graph.cpp
@@ -245,7 +245,7 @@ void ShaderGraph::connect(ShaderOutput *from, ShaderInput *to)
ShaderNode *convert;
ShaderInput *convert_in;
- if (to->type() == SocketType::CLOSURE) {
+ if(to->type() == SocketType::CLOSURE) {
EmissionNode *emission = new EmissionNode();
emission->color = make_float3(1.0f, 1.0f, 1.0f);
emission->strength = 1.0f;