diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-02 00:39:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-02 00:39:14 +0400 |
commit | 829c48a9918a8ce4e37cbb42d341551a761b7c81 (patch) | |
tree | ce0ba4541e8616d81b5450f3d92af14260fe4ceb /source | |
parent | 8a0f6aa2f27c84e12def8a0f0a0b408563afb192 (diff) |
code cleanup: headers
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_node/node_add.c | 47 | ||||
-rw-r--r-- | source/blender/editors/space_node/node_edit.c | 26 | ||||
-rw-r--r-- | source/blender/editors/space_node/node_group.c | 43 | ||||
-rw-r--r-- | source/blender/editors/space_node/node_relationships.c | 49 |
4 files changed, 8 insertions, 157 deletions
diff --git a/source/blender/editors/space_node/node_add.c b/source/blender/editors/space_node/node_add.c index 5e58737606f..20429d832b5 100644 --- a/source/blender/editors/space_node/node_add.c +++ b/source/blender/editors/space_node/node_add.c @@ -29,54 +29,21 @@ * \ingroup spnode */ -#include <stdio.h> -#include <stdlib.h> -#include <math.h> -#include <string.h> #include <errno.h> -#include "MEM_guardedalloc.h" - -#include "DNA_ID.h" -#include "DNA_lamp_types.h" -#include "DNA_material_types.h" #include "DNA_node_types.h" -#include "DNA_object_types.h" -#include "DNA_particle_types.h" -#include "DNA_scene_types.h" -#include "DNA_world_types.h" -#include "DNA_action_types.h" -#include "DNA_anim_types.h" #include "BLI_math.h" -#include "BLI_blenlib.h" -#include "BLI_utildefines.h" -#include "BKE_action.h" -#include "BKE_animsys.h" #include "BKE_context.h" -#include "BKE_depsgraph.h" -#include "BKE_global.h" #include "BKE_image.h" #include "BKE_library.h" #include "BKE_main.h" #include "BKE_node.h" -#include "BKE_material.h" -#include "BKE_modifier.h" -#include "BKE_paint.h" -#include "BKE_scene.h" -#include "BKE_screen.h" -#include "BKE_texture.h" #include "BKE_report.h" -#include "RE_pipeline.h" - -#include "IMB_imbuf_types.h" - -#include "ED_node.h" -#include "ED_image.h" +#include "ED_node.h" /* own include */ #include "ED_screen.h" -#include "ED_space_api.h" #include "ED_render.h" #include "RNA_access.h" @@ -86,19 +53,9 @@ #include "WM_api.h" #include "WM_types.h" -#include "UI_interface.h" -#include "UI_resources.h" #include "UI_view2d.h" -#include "IMB_imbuf.h" - -#include "RNA_enum_types.h" - -#include "GPU_material.h" - -#include "node_intern.h" -#include "NOD_socket.h" - +#include "node_intern.h" /* own include */ /* can be called from menus too, but they should do own undopush and redraws */ bNode *node_add_node(SpaceNode *snode, Main *bmain, Scene *scene, diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index 481c6544255..4b554185933 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -29,32 +29,17 @@ * \ingroup spnode */ - -#include <stdio.h> -#include <stdlib.h> -#include <math.h> -#include <string.h> -#include <errno.h> - #include "MEM_guardedalloc.h" -#include "DNA_ID.h" #include "DNA_lamp_types.h" #include "DNA_material_types.h" #include "DNA_node_types.h" #include "DNA_object_types.h" -#include "DNA_particle_types.h" -#include "DNA_scene_types.h" #include "DNA_world_types.h" -#include "DNA_action_types.h" -#include "DNA_anim_types.h" #include "BLI_math.h" #include "BLI_blenlib.h" -#include "BLI_utildefines.h" -#include "BKE_action.h" -#include "BKE_animsys.h" #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_global.h" @@ -63,18 +48,16 @@ #include "BKE_main.h" #include "BKE_node.h" #include "BKE_material.h" -#include "BKE_modifier.h" #include "BKE_paint.h" #include "BKE_scene.h" #include "BKE_screen.h" #include "BKE_texture.h" -#include "BKE_report.h" #include "RE_pipeline.h" #include "IMB_imbuf_types.h" -#include "ED_node.h" +#include "ED_node.h" /* own include */ #include "ED_image.h" #include "ED_screen.h" #include "ED_space_api.h" @@ -82,23 +65,18 @@ #include "RNA_access.h" #include "RNA_define.h" -#include "RNA_enum_types.h" #include "WM_api.h" #include "WM_types.h" -#include "UI_interface.h" -#include "UI_resources.h" #include "UI_view2d.h" #include "IMB_imbuf.h" -#include "RNA_enum_types.h" #include "GPU_material.h" -#include "node_intern.h" -#include "NOD_socket.h" +#include "node_intern.h" /* own include */ /* ***************** composite job manager ********************** */ diff --git a/source/blender/editors/space_node/node_group.c b/source/blender/editors/space_node/node_group.c index 41924d926d2..7d3c9ce6b5b 100644 --- a/source/blender/editors/space_node/node_group.c +++ b/source/blender/editors/space_node/node_group.c @@ -29,55 +29,24 @@ * \ingroup spnode */ - -#include <stdio.h> -#include <stdlib.h> -#include <math.h> -#include <string.h> -#include <errno.h> - #include "MEM_guardedalloc.h" -#include "DNA_ID.h" -#include "DNA_lamp_types.h" -#include "DNA_material_types.h" #include "DNA_node_types.h" #include "DNA_object_types.h" -#include "DNA_particle_types.h" -#include "DNA_scene_types.h" -#include "DNA_world_types.h" -#include "DNA_action_types.h" #include "DNA_anim_types.h" -#include "BLI_math.h" #include "BLI_blenlib.h" -#include "BLI_utildefines.h" #include "BKE_action.h" #include "BKE_animsys.h" #include "BKE_context.h" -#include "BKE_depsgraph.h" #include "BKE_global.h" -#include "BKE_image.h" #include "BKE_library.h" #include "BKE_main.h" -#include "BKE_node.h" -#include "BKE_material.h" -#include "BKE_modifier.h" -#include "BKE_paint.h" -#include "BKE_scene.h" -#include "BKE_screen.h" -#include "BKE_texture.h" #include "BKE_report.h" -#include "RE_pipeline.h" - -#include "IMB_imbuf_types.h" - -#include "ED_node.h" -#include "ED_image.h" +#include "ED_node.h" /* own include */ #include "ED_screen.h" -#include "ED_space_api.h" #include "ED_render.h" #include "RNA_access.h" @@ -87,17 +56,9 @@ #include "WM_api.h" #include "WM_types.h" -#include "UI_interface.h" #include "UI_resources.h" -#include "UI_view2d.h" - -#include "IMB_imbuf.h" - -#include "RNA_enum_types.h" - -#include "GPU_material.h" -#include "node_intern.h" +#include "node_intern.h" /* own include */ #include "NOD_socket.h" static EnumPropertyItem socket_in_out_items[] = { diff --git a/source/blender/editors/space_node/node_relationships.c b/source/blender/editors/space_node/node_relationships.c index 4fcc2abece4..cda736d199a 100644 --- a/source/blender/editors/space_node/node_relationships.c +++ b/source/blender/editors/space_node/node_relationships.c @@ -29,76 +29,31 @@ * \ingroup spnode */ -#include <stdio.h> -#include <stdlib.h> -#include <math.h> -#include <string.h> -#include <errno.h> - #include "MEM_guardedalloc.h" -#include "DNA_ID.h" -#include "DNA_lamp_types.h" -#include "DNA_material_types.h" #include "DNA_node_types.h" #include "DNA_object_types.h" -#include "DNA_particle_types.h" -#include "DNA_scene_types.h" -#include "DNA_world_types.h" -#include "DNA_action_types.h" -#include "DNA_anim_types.h" #include "BLI_math.h" #include "BLI_blenlib.h" -#include "BLI_utildefines.h" -#include "BKE_action.h" -#include "BKE_animsys.h" #include "BKE_context.h" -#include "BKE_depsgraph.h" -#include "BKE_global.h" -#include "BKE_image.h" -#include "BKE_library.h" #include "BKE_main.h" #include "BKE_node.h" -#include "BKE_material.h" -#include "BKE_modifier.h" -#include "BKE_paint.h" -#include "BKE_scene.h" -#include "BKE_screen.h" -#include "BKE_texture.h" -#include "BKE_report.h" - -#include "RE_pipeline.h" -#include "IMB_imbuf_types.h" - -#include "ED_node.h" -#include "ED_image.h" +#include "ED_node.h" /* own include */ #include "ED_screen.h" -#include "ED_space_api.h" #include "ED_render.h" #include "RNA_access.h" #include "RNA_define.h" -#include "RNA_enum_types.h" #include "WM_api.h" #include "WM_types.h" -#include "UI_interface.h" -#include "UI_resources.h" #include "UI_view2d.h" -#include "IMB_imbuf.h" - -#include "RNA_enum_types.h" - -#include "GPU_material.h" - -#include "node_intern.h" -#include "NOD_socket.h" - +#include "node_intern.h" /* own include */ /* ****************** Add *********************** */ |