From 93c7b8a2d0e7e69b6734ca9e743715f1b723fa79 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 24 Mar 2010 10:56:37 +0000 Subject: [PATCH] remove unused includes UI_*.h, WM_*.h, ED_*.h --- source/blender/makesrna/intern/rna_armature_api.c | 1 - source/blender/makesrna/intern/rna_constraint.c | 1 - source/blender/makesrna/intern/rna_render.c | 2 -- source/blender/makesrna/intern/rna_scene_api.c | 3 --- source/blender/makesrna/intern/rna_smoke.c | 1 - source/blender/makesrna/intern/rna_ui_api.c | 1 - source/blender/makesrna/intern/rna_wm_api.c | 2 -- source/blender/quicktime/apple/quicktime_export.c | 2 -- source/blender/windowmanager/intern/wm_event_system.c | 1 - source/blender/windowmanager/intern/wm_gesture.c | 1 - source/blender/windowmanager/intern/wm_jobs.c | 1 - source/creator/creator.c | 1 - 12 files changed, 17 deletions(-) diff --git a/source/blender/makesrna/intern/rna_armature_api.c b/source/blender/makesrna/intern/rna_armature_api.c index 230488c5767..cd78bd6e578 100644 --- a/source/blender/makesrna/intern/rna_armature_api.c +++ b/source/blender/makesrna/intern/rna_armature_api.c @@ -37,7 +37,6 @@ #include "BLI_blenlib.h" -#include "ED_armature.h" void rna_EditBone_align_roll(EditBone *ebo, float *no) { diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c index e835c49680b..5eb41136350 100644 --- a/source/blender/makesrna/intern/rna_constraint.c +++ b/source/blender/makesrna/intern/rna_constraint.c @@ -103,7 +103,6 @@ EnumPropertyItem constraint_ik_axisref_items[] ={ #include "BKE_context.h" #include "BKE_depsgraph.h" -#include "ED_object.h" static StructRNA *rna_ConstraintType_refine(struct PointerRNA *ptr) { diff --git a/source/blender/makesrna/intern/rna_render.c b/source/blender/makesrna/intern/rna_render.c index 8c3dbf942e3..710a22ba17a 100644 --- a/source/blender/makesrna/intern/rna_render.c +++ b/source/blender/makesrna/intern/rna_render.c @@ -30,7 +30,6 @@ #include "rna_internal.h" -#include "WM_types.h" #include "RE_pipeline.h" @@ -43,7 +42,6 @@ #include "BKE_context.h" #include "BKE_report.h" -#include "WM_api.h" /* RenderEngine */ diff --git a/source/blender/makesrna/intern/rna_scene_api.c b/source/blender/makesrna/intern/rna_scene_api.c index ae890368933..376ef54f4d8 100644 --- a/source/blender/makesrna/intern/rna_scene_api.c +++ b/source/blender/makesrna/intern/rna_scene_api.c @@ -44,10 +44,7 @@ #include "BKE_depsgraph.h" #include "BKE_writeavi.h" -#include "ED_object.h" -#include "ED_anim_api.h" -#include "WM_api.h" static void rna_Scene_set_frame(Scene *scene, bContext *C, int frame) { diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c index 2c2ae574dd8..970abf92b08 100644 --- a/source/blender/makesrna/intern/rna_smoke.c +++ b/source/blender/makesrna/intern/rna_smoke.c @@ -46,7 +46,6 @@ #include "BKE_depsgraph.h" #include "BKE_particle.h" -#include "ED_object.h" static void rna_Smoke_update(Main *bmain, Scene *scene, PointerRNA *ptr) { diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c index bd7a00b3834..89c7876f6e0 100644 --- a/source/blender/makesrna/intern/rna_ui_api.c +++ b/source/blender/makesrna/intern/rna_ui_api.c @@ -31,7 +31,6 @@ #include "RNA_define.h" -#include "UI_interface.h" #include "UI_resources.h" #ifdef RNA_RUNTIME diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c index a0a758cfdfe..13e38ea435b 100644 --- a/source/blender/makesrna/intern/rna_wm_api.c +++ b/source/blender/makesrna/intern/rna_wm_api.c @@ -39,8 +39,6 @@ #include "BKE_context.h" -#include "WM_api.h" -#include "WM_types.h" static wmKeyMap *rna_keymap_add(wmKeyConfig *keyconf, char *idname, int spaceid, int regionid, int modal) { diff --git a/source/blender/quicktime/apple/quicktime_export.c b/source/blender/quicktime/apple/quicktime_export.c index aaf2634bbf6..97d147c11aa 100644 --- a/source/blender/quicktime/apple/quicktime_export.c +++ b/source/blender/quicktime/apple/quicktime_export.c @@ -35,8 +35,6 @@ #include "DNA_scene_types.h" #include "DNA_windowmanager_types.h" -#include "WM_api.h" -#include "WM_types.h" #include "BKE_context.h" #include "BKE_global.h" diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index d430b0f8a1b..6aea2c0c096 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -56,7 +56,6 @@ #include "ED_fileselect.h" #include "ED_info.h" #include "ED_screen.h" -#include "ED_space_api.h" #include "ED_util.h" #include "RNA_access.h" diff --git a/source/blender/windowmanager/intern/wm_gesture.c b/source/blender/windowmanager/intern/wm_gesture.c index 2365da517e7..fd7ae142cbd 100644 --- a/source/blender/windowmanager/intern/wm_gesture.c +++ b/source/blender/windowmanager/intern/wm_gesture.c @@ -49,7 +49,6 @@ #include "wm_subwindow.h" #include "wm_draw.h" -#include "ED_screen.h" #include "BIF_gl.h" #include "BIF_glutil.h" diff --git a/source/blender/windowmanager/intern/wm_jobs.c b/source/blender/windowmanager/intern/wm_jobs.c index 349fdd98a36..343b1f68c7f 100644 --- a/source/blender/windowmanager/intern/wm_jobs.c +++ b/source/blender/windowmanager/intern/wm_jobs.c @@ -48,7 +48,6 @@ #include "wm_event_types.h" #include "wm.h" -#include "ED_screen.h" /* ********************** Threaded Jobs Manager ****************************** */ diff --git a/source/creator/creator.c b/source/creator/creator.c index 7eb8f36e4d8..aceef5ebef8 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -81,7 +81,6 @@ //XXX #include "playanim_ext.h" #include "ED_datafiles.h" -#include "UI_interface.h" #include "WM_api.h"