[Bf-blender-cvs] [11c9ff1] master: Cleanup unused header includes from previous commit.

Bastien Montagne noreply at git.blender.org
Tue Apr 19 22:53:59 CEST 2016


Commit: 11c9ff1eddf849c7c37a152d464a5514df8dfc26
Author: Bastien Montagne
Date:   Tue Apr 19 17:53:46 2016 +0200
Branches: master
https://developer.blender.org/rB11c9ff1eddf849c7c37a152d464a5514df8dfc26

Cleanup unused header includes from previous commit.

===================================================================

M	source/blender/windowmanager/intern/wm_draw.c
M	source/blender/windowmanager/intern/wm_files_link.c
M	source/blender/windowmanager/intern/wm_operators.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c
index f8a879d..8f15d94 100644
--- a/source/blender/windowmanager/intern/wm_draw.c
+++ b/source/blender/windowmanager/intern/wm_draw.c
@@ -43,7 +43,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
-#include "BLI_math_base.h"
 
 #include "BIF_gl.h"
 
diff --git a/source/blender/windowmanager/intern/wm_files_link.c b/source/blender/windowmanager/intern/wm_files_link.c
index f769efd..5041eeb 100644
--- a/source/blender/windowmanager/intern/wm_files_link.c
+++ b/source/blender/windowmanager/intern/wm_files_link.c
@@ -39,28 +39,17 @@
 #include <assert.h>
 #include <errno.h>
 
-#ifdef WIN32
-#  include "GHOST_C-api.h"
-#endif
-
 #include "MEM_guardedalloc.h"
 
 #include "DNA_ID.h"
-#include "DNA_object_types.h"
 #include "DNA_screen_types.h"
 #include "DNA_scene_types.h"
-#include "DNA_userdef_types.h"
 #include "DNA_windowmanager_types.h"
-#include "DNA_mesh_types.h" /* only for USE_BMESH_SAVE_AS_COMPAT */
 
-#include "BLT_translation.h"
 
-#include "PIL_time.h"
 
 #include "BLI_blenlib.h"
 #include "BLI_bitmap.h"
-#include "BLI_dial.h"
-#include "BLI_dynstr.h" /*for WM_operator_pystring */
 #include "BLI_linklist.h"
 #include "BLI_math.h"
 #include "BLI_memarena.h"
@@ -69,61 +58,31 @@
 
 #include "BLO_readfile.h"
 
-#include "BKE_appdir.h"
-#include "BKE_autoexec.h"
-#include "BKE_blender.h"
-#include "BKE_brush.h"
 #include "BKE_context.h"
 #include "BKE_depsgraph.h"
-#include "BKE_icons.h"
-#include "BKE_idprop.h"
-#include "BKE_image.h"
 #include "BKE_library.h"
-#include "BKE_library_query.h"
 #include "BKE_global.h"
 #include "BKE_main.h"
-#include "BKE_material.h"
 #include "BKE_report.h"
 #include "BKE_scene.h"
-#include "BKE_screen.h" /* BKE_ST_MAXNAME */
-#include "BKE_unit.h"
-#include "BKE_utildefines.h"
 
 #include "BKE_idcode.h"
 
-#include "BIF_glutil.h" /* for paint cursor */
-#include "BLF_api.h"
 
 #include "IMB_colormanagement.h"
-#include "IMB_imbuf_types.h"
-#include "IMB_imbuf.h"
 
-#include "ED_numinput.h"
 #include "ED_screen.h"
-#include "ED_util.h"
-#include "ED_view3d.h"
 
-#include "GPU_basic_shader.h"
 #include "GPU_material.h"
 
 #include "RNA_access.h"
 #include "RNA_define.h"
-#include "RNA_enum_types.h"
 
-#include "UI_interface.h"
-#include "UI_interface_icons.h"
-#include "UI_resources.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
 
-#include "wm.h"
-#include "wm_draw.h"
-#include "wm_event_system.h"
-#include "wm_event_types.h"
 #include "wm_files.h"
-#include "wm_subwindow.h"
-#include "wm_window.h"
 
 /* **************** link/append *************** */
 
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index fdb6db6..8a15237 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -58,19 +58,15 @@
 #include "PIL_time.h"
 
 #include "BLI_blenlib.h"
-#include "BLI_bitmap.h"
 #include "BLI_dial.h"
 #include "BLI_dynstr.h" /*for WM_operator_pystring */
-#include "BLI_linklist.h"
 #include "BLI_math.h"
-#include "BLI_memarena.h"
 #include "BLI_utildefines.h"
 #include "BLI_ghash.h"
 
 #include "BLO_readfile.h"
 
 #include "BKE_appdir.h"
-#include "BKE_autoexec.h"
 #include "BKE_blender.h"
 #include "BKE_brush.h"
 #include "BKE_context.h"
@@ -87,14 +83,12 @@
 #include "BKE_scene.h"
 #include "BKE_screen.h" /* BKE_ST_MAXNAME */
 #include "BKE_unit.h"
-#include "BKE_utildefines.h"
 
 #include "BKE_idcode.h"
 
 #include "BIF_glutil.h" /* for paint cursor */
 #include "BLF_api.h"
 
-#include "IMB_colormanagement.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
 
@@ -104,7 +98,6 @@
 #include "ED_view3d.h"
 
 #include "GPU_basic_shader.h"
-#include "GPU_material.h"
 
 #include "RNA_access.h"
 #include "RNA_define.h"




More information about the Bf-blender-cvs mailing list