Cycles: Cleanup, indentation and braces

This commit is contained in:
Sergey Sharybin
2016-02-03 15:00:55 +01:00
parent 87cbcd697b
commit 3aa74828ab
19 changed files with 141 additions and 115 deletions

View File

@@ -4251,10 +4251,10 @@ bool VectorMathNode::constant_fold(ShaderOutput *socket, float3 *optimized_value
if(vector1_in->link == NULL && vector2_in->link == NULL) {
svm_vector_math(&value,
&vector,
(NodeVectorMath)type_enum[type],
vector1_in->value,
vector2_in->value);
&vector,
(NodeVectorMath)type_enum[type],
vector1_in->value,
vector2_in->value);
if(socket == output("Value")) {
optimized_value->x = value;