style cleanup: nodes
[blender.git] / source / blender / nodes / shader / node_shader_tree.c
index 0a5d1a3216ccb7975653dfa7b6976065d22711a9..65ae205a2ab75bd62b93f04869dcfe784e0267a5 100644 (file)
@@ -68,9 +68,9 @@ static int shader_tree_poll(const bContext *C, bNodeTreeType *UNUSED(treetype))
        Scene *scene = CTX_data_scene(C);
        /* allow empty engine string too, this is from older versions that didn't have registerable engines yet */
        return (scene->r.engine[0] == '\0' ||
-            STREQ(scene->r.engine, "BLENDER_RENDER") ||
-            STREQ(scene->r.engine, "BLENDER_GAME") ||
-            STREQ(scene->r.engine, "CYCLES"));
+               STREQ(scene->r.engine, "BLENDER_RENDER") ||
+               STREQ(scene->r.engine, "BLENDER_GAME") ||
+               STREQ(scene->r.engine, "CYCLES"));
 }
 
 static void shader_get_from_context(const bContext *C, bNodeTreeType *UNUSED(treetype), bNodeTree **r_ntree, ID **r_id, ID **r_from)
@@ -169,7 +169,7 @@ void register_node_tree_type_sh(void)
        tt->type = NTREE_SHADER;
        strcpy(tt->idname, "ShaderNodeTree");
        strcpy(tt->ui_name, "Shader");
-       tt->ui_icon = 0;        /* defined in drawnode.c */
+       tt->ui_icon = 0;    /* defined in drawnode.c */
        strcpy(tt->ui_description, "");
        
        tt->foreach_nodeclass = foreach_nodeclass;