Cycles: Code cleanup, spaces around keywords
[blender-staging.git] / intern / cycles / render / osl.cpp
index 41844ae219f5d32ffbc729d1810141d456e6d378..679d54d1d1e229863a396de419c7838cc4869643 100644 (file)
@@ -414,7 +414,7 @@ string OSLCompiler::compatible_name(ShaderNode *node, ShaderInput *input)
        
        /* if output exists with the same name, add "In" suffix */
        foreach(ShaderOutput *output, node->outputs) {
-               if (strcmp(input->name, output->name)==0) {
+               if(strcmp(input->name, output->name)==0) {
                        sname += "In";
                        break;
                }
@@ -434,7 +434,7 @@ string OSLCompiler::compatible_name(ShaderNode *node, ShaderOutput *output)
        
        /* if input exists with the same name, add "Out" suffix */
        foreach(ShaderInput *input, node->inputs) {
-               if (strcmp(input->name, output->name)==0) {
+               if(strcmp(input->name, output->name)==0) {
                        sname += "Out";
                        break;
                }