code cleanup: misc warnings/style
[blender.git] / source / blender / editors / space_node / drawnode.c
index 4d3876068b6b5657956f2646e080f1db413e0a97..9f2e0b71b0ba1991cd4ce0878614ac5d73d9b7b5 100644 (file)
@@ -114,18 +114,18 @@ static void node_add_menu_class(bContext *C, uiLayout *layout, void *arg_nodecla
                                continue;
                        
                        switch (ntree->type) {
-                       case NTREE_COMPOSIT:
-                               ngroup_type = "CompositorNodeTree";
-                               node_type = "CompositorNodeGroup";
-                               break;
-                       case NTREE_SHADER:
-                               ngroup_type = "ShaderNodeTree";
-                               node_type = "ShaderNodeGroup";
-                               break;
-                       case NTREE_TEXTURE:
-                               ngroup_type = "TextureNodeTree";
-                               node_type = "TextureNodeGroup";
-                               break;
+                               case NTREE_COMPOSIT:
+                                       ngroup_type = "CompositorNodeTree";
+                                       node_type = "CompositorNodeGroup";
+                                       break;
+                               case NTREE_SHADER:
+                                       ngroup_type = "ShaderNodeTree";
+                                       node_type = "ShaderNodeGroup";
+                                       break;
+                               case NTREE_TEXTURE:
+                                       ngroup_type = "TextureNodeTree";
+                                       node_type = "TextureNodeGroup";
+                                       break;
                        }
                        
                        ptr = uiItemFullO(layout, "NODE_OT_group_make", "New Group", ntype->ui_icon, NULL, WM_OP_INVOKE_DEFAULT, UI_ITEM_O_RETURN_PROPS);