Cleanup: unused headers
authorCampbell Barton <ideasman42@gmail.com>
Fri, 28 Nov 2014 14:50:43 +0000 (15:50 +0100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 28 Nov 2014 14:52:30 +0000 (15:52 +0100)
119 files changed:
source/blender/blenkernel/intern/fmodifier.c
source/blender/editors/animation/anim_draw.c
source/blender/editors/animation/drivers.c
source/blender/editors/animation/keyframes_draw.c
source/blender/editors/animation/keyframes_edit.c
source/blender/editors/armature/armature_ops.c
source/blender/editors/armature/armature_skinning.c
source/blender/editors/armature/editarmature_sketch.c
source/blender/editors/armature/pose_utils.c
source/blender/editors/curve/curve_ops.c
source/blender/editors/gpencil/gpencil_ops.c
source/blender/editors/interface/interface_anim.c
source/blender/editors/interface/interface_ops.c
source/blender/editors/interface/interface_regions.c
source/blender/editors/interface/interface_style.c
source/blender/editors/interface/interface_templates.c
source/blender/editors/mask/mask_relationships.c
source/blender/editors/mesh/editface.c
source/blender/editors/mesh/editmesh_intersect.c
source/blender/editors/mesh/editmesh_path.c
source/blender/editors/mesh/editmesh_rip_edge.c
source/blender/editors/mesh/editmesh_select.c
source/blender/editors/mesh/mesh_data.c
source/blender/editors/metaball/mball_edit.c
source/blender/editors/metaball/mball_ops.c
source/blender/editors/object/object_add.c
source/blender/editors/object/object_bake.c
source/blender/editors/object/object_lod.c
source/blender/editors/object/object_ops.c
source/blender/editors/object/object_transform.c
source/blender/editors/object/object_vgroup.c
source/blender/editors/object/object_warp.c
source/blender/editors/physics/physics_ops.c
source/blender/editors/physics/rigidbody_constraint.c
source/blender/editors/physics/rigidbody_object.c
source/blender/editors/physics/rigidbody_world.c
source/blender/editors/render/render_internal.c
source/blender/editors/render/render_opengl.c
source/blender/editors/render/render_preview.c
source/blender/editors/render/render_shading.c
source/blender/editors/render/render_update.c
source/blender/editors/screen/area.c
source/blender/editors/screen/glutil.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/screen/screendump.c
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/sculpt_paint/paint_image_2d.c
source/blender/editors/sculpt_paint/paint_image_proj.c
source/blender/editors/sculpt_paint/paint_utils.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/sculpt_paint/sculpt_uv.c
source/blender/editors/sound/sound_ops.c
source/blender/editors/space_action/action_ops.c
source/blender/editors/space_api/spacetypes.c
source/blender/editors/space_buttons/buttons_texture.c
source/blender/editors/space_buttons/space_buttons.c
source/blender/editors/space_clip/clip_dopesheet_draw.c
source/blender/editors/space_clip/clip_dopesheet_ops.c
source/blender/editors/space_clip/clip_draw.c
source/blender/editors/space_clip/clip_editor.c
source/blender/editors/space_clip/clip_graph_draw.c
source/blender/editors/space_clip/clip_graph_ops.c
source/blender/editors/space_clip/clip_utils.c
source/blender/editors/space_clip/tracking_ops.c
source/blender/editors/space_clip/tracking_select.c
source/blender/editors/space_console/console_draw.c
source/blender/editors/space_file/file_draw.c
source/blender/editors/space_file/space_file.c
source/blender/editors/space_graph/graph_edit.c
source/blender/editors/space_graph/graph_utils.c
source/blender/editors/space_info/info_draw.c
source/blender/editors/space_logic/logic_buttons.c
source/blender/editors/space_nla/nla_draw.c
source/blender/editors/space_nla/nla_ops.c
source/blender/editors/space_node/drawnode.c
source/blender/editors/space_node/node_add.c
source/blender/editors/space_node/node_draw.c
source/blender/editors/space_node/node_edit.c
source/blender/editors/space_node/node_group.c
source/blender/editors/space_node/node_relationships.c
source/blender/editors/space_node/node_templates.c
source/blender/editors/space_node/node_toolbar.c
source/blender/editors/space_node/space_node.c
source/blender/editors/space_outliner/outliner_ops.c
source/blender/editors/space_script/script_edit.c
source/blender/editors/space_script/script_ops.c
source/blender/editors/space_script/space_script.c
source/blender/editors/space_sequencer/sequencer_add.c
source/blender/editors/space_sequencer/sequencer_buttons.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/editors/space_sequencer/sequencer_edit.c
source/blender/editors/space_sequencer/sequencer_modifier.c
source/blender/editors/space_text/text_header.c
source/blender/editors/space_userpref/space_userpref.c
source/blender/editors/space_userpref/userpref_ops.c
source/blender/editors/space_view3d/drawanimviz.c
source/blender/editors/space_view3d/drawarmature.c
source/blender/editors/space_view3d/drawvolume.c
source/blender/editors/space_view3d/view3d_buttons.c
source/blender/editors/space_view3d/view3d_camera_control.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_header.c
source/blender/editors/space_view3d/view3d_select.c
source/blender/editors/space_view3d/view3d_toolbar.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/editors/space_view3d/view3d_walk.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_ops.c
source/blender/editors/transform/transform_orientations.c
source/blender/editors/util/editmode_undo.c
source/blender/editors/util/undo.c
source/blender/editors/uvedit/uvedit_buttons.c
source/blender/editors/uvedit/uvedit_draw.c
source/blender/ikplugin/intern/ikplugin_api.c
source/blender/imbuf/intern/cache.c
source/blender/nodes/composite/nodes/node_composite_colorbalance.c
source/blender/nodes/shader/nodes/node_shader_bump.c
source/blender/nodes/shader/nodes/node_shader_vectMath.c
source/blender/python/bmesh/bmesh_py_types_select.c

index 56b087e7eb6791994cbe50fc95e5fe07ef3f6849..57b341aaef0a4fa7eb4d39ed94190ffae729d52e 100644 (file)
@@ -27,8 +27,6 @@
  *  \ingroup bke
  */
 
-
-
 #include <math.h>
 #include <stdio.h>
 #include <stddef.h>
index 807e1322595df081071b4d18ade63906680698ac..2d7656642d3556be9fe9f818673052ce2d7a3a7b 100644 (file)
@@ -41,7 +41,6 @@
 #include "BKE_context.h"
 #include "BKE_global.h"
 #include "BKE_nla.h"
-#include "BKE_object.h"
 
 #include "ED_anim_api.h"
 #include "ED_keyframes_edit.h"
index 7bdc49da54ef4fe74effebd92b72c2f3b85eb207..5799101a7db7b09baf486eec1f178283cbe7f9ac 100644 (file)
 #include "BLI_utildefines.h"
 
 #include "DNA_anim_types.h"
-#include "DNA_object_types.h"
-#include "DNA_material_types.h"
 #include "DNA_texture_types.h"
-#include "DNA_screen_types.h"
-#include "DNA_space_types.h"
 
 #include "BKE_animsys.h"
 #include "BKE_fcurve.h"
 #include "BKE_context.h"
 #include "BKE_report.h"
-#include "BKE_material.h"
-#include "BKE_texture.h"
 
 #include "ED_keyframing.h"
 
index c5e54cc1c7c2959526695e53ba9aa05f0a34f1ca..f3dbf5d645babf1c99789fb061ce7185771de094 100644 (file)
@@ -39,7 +39,6 @@
 
 #include "MEM_guardedalloc.h"
 
-#include "BLI_blenlib.h"
 #include "BLI_dlrbTree.h"
 #include "BLI_utildefines.h"
 
index 7f612de14b7447c75ca05c9e39a34446e35b1020..2f2676dc87d8f599cdaea146a93b36a80d9561a1 100644 (file)
@@ -43,7 +43,6 @@
 #include "DNA_object_types.h"
 #include "DNA_node_types.h"
 #include "DNA_scene_types.h"
-#include "DNA_space_types.h"
 
 #include "BKE_fcurve.h"
 
index b7e38546ca203e0bb9c5b6a64656c602f0828224..574258de4f68a6a72f8d67e5133acb9edfa152db 100644 (file)
@@ -28,8 +28,6 @@
  *  \ingroup edarmature
  */
 
-#include "BLI_math.h"
-
 #include "RNA_access.h"
 
 #include "WM_api.h"
index 3dec7ea48f6ecf14363146bd411fae30132f77c4..9ae9327462f2537aef797d0f0e67a0d59e1e59f2 100644 (file)
 
 
 #include "armature_intern.h"
-#include "meshlaplacian.h"
+
+#ifdef WITH_OPENNL
+#  include "meshlaplacian.h"
+#endif
 
 #if 0
 #include "reeb.h"
index 912fbc36d5d169ae77f57e0b5c06aee97d3be289..3dbf7b4b65af731304f033d3330498c9e22967f5 100644 (file)
@@ -31,8 +31,6 @@
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
 
-#include "BLF_translation.h"
-
 #include "BKE_context.h"
 #include "BKE_sketch.h"
 
index 380a3fffc6d12b8356168314e3fd46fa28aa5428..1297755b7d067fa634b2aa7849d32eeca9ce0156 100644 (file)
@@ -49,8 +49,6 @@
 #include "WM_api.h"
 #include "WM_types.h"
 
-
-
 #include "ED_armature.h"
 #include "ED_keyframing.h"
 
index f1b3418243981c7e823cffa4f2f349facb955119..0f42dc923a4628c1b5ac7fb6bb9da3ef9acdaade 100644 (file)
 #include "DNA_curve_types.h"
 #include "DNA_scene_types.h"
 
-#include "BLI_math.h"
-#include "BLI_blenlib.h"
-
-
 #include "RNA_access.h"
 
 #include "WM_api.h"
index 75ff089593108b935ab21b52b1fcec40f7dbab64..351ca4a7fe1bc65754203e239aa8a7bb410b3098 100644 (file)
@@ -34,8 +34,6 @@
 
 #include "BLI_sys_types.h"
 
-#include "BLI_blenlib.h"
-
 #include "WM_api.h"
 #include "WM_types.h"
 
index 7e7806f6ada70e015eb8b0858e1b67be899ad56e..24a30ebe3d8f5c1bcbab7deebef8420951da70bf 100644 (file)
 #include "DNA_scene_types.h"
 #include "DNA_screen_types.h"
 
-#include "BLI_listbase.h"
 #include "BLI_string.h"
 #include "BLI_string_utf8.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
-#include "BKE_animsys.h"
 #include "BKE_fcurve.h"
 #include "BKE_global.h"
 #include "BKE_nla.h"
index 4cb587bc1bea1623fe9f6814d1da765c150cd3fa..0f430c4f254e36a1c10439e35de9b3a0bc9701ea 100644 (file)
@@ -45,7 +45,6 @@
 #include "BKE_global.h"
 #include "BKE_text.h" /* for UI_OT_reports_to_text */
 #include "BKE_report.h"
-#include "BKE_paint.h"
 
 #include "RNA_access.h"
 #include "RNA_define.h"
index 6a4bf23059153f6ca3d55675fc2310e7d6719d77..f6b596ff421bfe357889946311e58cff9bf727a8 100644 (file)
@@ -27,8 +27,6 @@
  *  \ingroup edinterface
  */
 
-
-
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
@@ -54,7 +52,6 @@
 #include "WM_types.h"
 #include "wm_draw.h"
 #include "wm_subwindow.h"
-#include "wm_window.h"
 
 #include "RNA_access.h"
 
index d2aa463e3ff197e8ef8bd7c73202898f27fffc53..8b2ce90dcf5203d60f6362ffc68d8bed18906bab 100644 (file)
@@ -47,7 +47,9 @@
 
 
 #include "BLF_api.h"
-#include "BLF_translation.h"
+#ifdef WITH_INTERNATIONAL
+#  include "BLF_translation.h"
+#endif
 
 #include "UI_interface.h"
 
index 56ff705d43b7c3119ae00379ea106b7e21d10b57..9e974fee67535a8b1f28572f30b1a6778c4cf71e 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "MEM_guardedalloc.h"
 
-#include "DNA_dynamicpaint_types.h"
 #include "DNA_node_types.h"
 #include "DNA_scene_types.h"
 #include "DNA_object_types.h"
@@ -74,7 +73,6 @@
 #include "ED_util.h"
 
 #include "RNA_access.h"
-#include "RNA_enum_types.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
index e02561d839c4223abe178b10e50b3d15660e51b2..4e0aa8f84ae12f1696481e540477df1d571a852d 100644 (file)
@@ -39,7 +39,6 @@
 #include "BKE_tracking.h"
 
 #include "DNA_mask_types.h"
-#include "DNA_object_types.h"  /* SELECT */
 
 #include "WM_api.h"
 #include "WM_types.h"
index 87b429f1165f35ac9c3659ea56e629a9f0e9709e..113f0f71b5319ac9af5aebd7ab28cd8e9e9e95d9 100644 (file)
@@ -31,8 +31,6 @@
 #include "BLI_math.h"
 #include "BLI_bitmap.h"
 
-#include "BLF_translation.h"
-
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
 
index df6776950d72419306584c8ce954ec5ab0d8cb8b..64d31637b528a33b7e4df86795607d4636b2073b 100644 (file)
@@ -38,7 +38,6 @@
 #include "RNA_access.h"
 #include "RNA_define.h"
 
-#include "WM_api.h"
 #include "WM_types.h"
 
 #include "ED_mesh.h"
index e1ef74cbaf8ca1ae84b750f8fe32470794ee40d6..4eaac6cc1d34e679171df52b9b87314d681e3a5f 100644 (file)
 #include "DNA_scene_types.h"
 #include "DNA_object_types.h"
 #include "DNA_mesh_types.h"
-#include "DNA_meshdata_types.h"
 #include "DNA_windowmanager_types.h"
 
+#ifdef WITH_FREESTYLE
+#  include "DNA_meshdata_types.h"
+#endif
+
 #include "BLI_math.h"
 #include "BLI_linklist.h"
 
index c88afd9ef1ed9e40feceb9d0ecb61284df466868..a501dfc8c2cfab172b2a2dae76bdfcca1f1f458c 100644 (file)
@@ -24,8 +24,6 @@
  * based on mouse cursor position, split of vertices along the closest edge.
  */
 
-#include "MEM_guardedalloc.h"
-
 #include "DNA_object_types.h"
 
 #include "BLI_math.h"
@@ -34,9 +32,6 @@
 #include "BKE_report.h"
 #include "BKE_editmesh.h"
 
-#include "RNA_define.h"
-#include "RNA_access.h"
-
 #include "WM_types.h"
 
 #include "ED_mesh.h"
index 5f3f7cb242c29d14ee4ca5b9e5f12a8f83ab7e71..7763955f7d545c2bc632007227bc50af0ebb710f 100644 (file)
@@ -38,7 +38,6 @@
 #include "BLI_math.h"
 #include "BLI_rand.h"
 #include "BLI_array.h"
-#include "BLI_smallhash.h"
 
 #include "BKE_context.h"
 #include "BKE_report.h"
@@ -62,8 +61,6 @@
 #include "DNA_meshdata_types.h"
 #include "DNA_object_types.h"
 
-#include "GPU_extensions.h"
-
 #include "UI_resources.h"
 
 #include "bmesh_tools.h"
index 4bffb491581af1ec8f576b0a487ef3adf39f22c7..d34b80e63f353cdb5516efcc770047a939137485 100644 (file)
@@ -43,7 +43,6 @@
 
 #include "BKE_context.h"
 #include "BKE_depsgraph.h"
-#include "BKE_image.h"
 #include "BKE_library.h"
 #include "BKE_main.h"
 #include "BKE_mesh.h"
@@ -51,7 +50,6 @@
 #include "BKE_report.h"
 #include "BKE_editmesh.h"
 
-#include "RNA_access.h"
 #include "RNA_define.h"
 
 #include "WM_api.h"
index f6a54beb8c84690fd1fe1804033de6bc6a1e2038..57daec494659e868c5010ab80e32a147ea7e10ca 100644 (file)
@@ -47,7 +47,6 @@
 
 #include "RNA_define.h"
 #include "RNA_access.h"
-#include "RNA_enum_types.h"
 
 #include "BKE_depsgraph.h"
 #include "BKE_context.h"
index b7822200d98662e2706be43cdcb1559d617c67ea..0723bb4e62d22e7426562f83a32744ca8a5aeb50 100644 (file)
@@ -30,8 +30,6 @@
 
 #include "DNA_scene_types.h"
 
-#include "BLI_utildefines.h"
-
 #include "RNA_access.h"
 
 #include "WM_api.h"
index 8cea1ce40bb423874dde26b5f73d7fb2fe39ec9c..424f2b600de0f8c0c3292b5e9f20a4ed35bcb960 100644 (file)
@@ -69,7 +69,6 @@
 #include "BKE_effect.h"
 #include "BKE_font.h"
 #include "BKE_group.h"
-#include "BKE_image.h"
 #include "BKE_lamp.h"
 #include "BKE_lattice.h"
 #include "BKE_library.h"
@@ -97,7 +96,6 @@
 
 #include "ED_armature.h"
 #include "ED_curve.h"
-#include "ED_lattice.h"
 #include "ED_mball.h"
 #include "ED_mesh.h"
 #include "ED_node.h"
 #include "ED_transform.h"
 #include "ED_view3d.h"
 
-#include "UI_interface.h"
 #include "UI_resources.h"
 
 #include "GPU_material.h"
index 1f1bdbe55e590b8575c749e3b250fc044b97b91e..011e7c574affcebd9d1d319696c2d423eb31109c 100644 (file)
@@ -46,7 +46,6 @@
 #include "BLI_threads.h"
 #include "BLI_utildefines.h"
 #include "BLI_math.h"
-#include "BLI_math_geom.h"
 
 #include "BKE_blender.h"
 #include "BKE_screen.h"
@@ -71,7 +70,6 @@
 
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
-#include "IMB_colormanagement.h"
 
 #include "GPU_draw.h" /* GPU_free_image */
 
index 48e980015a7072d82c203e54fe63769744be034b..ced306178b822008815c0ff0e8d8607efd21ba76 100644 (file)
 #include "DNA_object_types.h"
 
 #include "BKE_context.h"
-#include "BKE_object.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
 
 #include "RNA_access.h"
 #include "RNA_define.h"
-#include "RNA_enum_types.h"
 
 #include "ED_screen.h"
 #include "ED_object.h"
 
+#ifdef WITH_GAMEENGINE
+#  include "BKE_object.h"
+
+#  include "RNA_enum_types.h"
+#endif
+
 #include "object_intern.h"
 
 static int object_lod_add_exec(bContext *C, wmOperator *UNUSED(op))
index bef64fec8d079f80bc76e2777acdd87929897dff..2062b85fe4b1b9e13fb84f54d5d3b6b0072942ad 100644 (file)
@@ -40,7 +40,6 @@
 #include "BKE_context.h"
 
 #include "RNA_access.h"
-#include "RNA_define.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
index f19765a53444e2bdb14bea91df38a929fe2483b9..92fe5ded4dd219cbd739a2e587575ea5da6d562c 100644 (file)
@@ -33,9 +33,7 @@
 
 #include "DNA_anim_types.h"
 #include "DNA_armature_types.h"
-#include "DNA_key_types.h"
 #include "DNA_mesh_types.h"
-#include "DNA_meshdata_types.h"
 #include "DNA_meta_types.h"
 #include "DNA_object_types.h"
 #include "DNA_scene_types.h"
@@ -69,7 +67,6 @@
 
 #include "ED_armature.h"
 #include "ED_keyframing.h"
-#include "ED_mball.h"
 #include "ED_mesh.h"
 #include "ED_screen.h"
 #include "ED_view3d.h"
index dc51f23985fa4693f585c597bba6311f4eaa7e36..a0c5b037c1f65f565f65e80575bf41b87ac650da 100644 (file)
 
 #include "MEM_guardedalloc.h"
 
-#include "DNA_cloth_types.h"
 #include "DNA_curve_types.h"
 #include "DNA_lattice_types.h"
 #include "DNA_meshdata_types.h"
 #include "DNA_mesh_types.h"
 #include "DNA_modifier_types.h"
 #include "DNA_object_types.h"
-#include "DNA_object_force.h"
 #include "DNA_scene_types.h"
-#include "DNA_particle_types.h"
 
 #include "BLI_alloca.h"
 #include "BLI_array.h"
@@ -54,7 +51,6 @@
 #include "BLI_utildefines.h"
 #include "BLI_linklist_stack.h"
 
-#include "BLF_translation.h"
 
 #include "BKE_context.h"
 #include "BKE_customdata.h"
index 8016dabf3a33a9ba63fec410bc80bf303f697bbf..7413bb07c4ce025770ffc686bdca0360ea7fc94a 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "BLI_math.h"
 
-#include "BKE_utildefines.h"
 #include "BKE_context.h"
 
 #include "RNA_access.h"
index ff89909b124aee98a256fdaefb63d6220450ad16..03d32bc052d47b416120198fb4ba22df60084a97 100644 (file)
 
 #include <stdlib.h>
 
-#include "DNA_scene_types.h"
-
-#include "BLI_utildefines.h"
-
 #include "RNA_access.h"
 
 #include "WM_api.h"
index dd0816e509d71bc19508d8c6cdfc45854bfd6837..85b059d55741390369d9dcfa3022b1300ebd62b1 100644 (file)
@@ -37,8 +37,6 @@
 #include "DNA_rigidbody_types.h"
 #include "DNA_scene_types.h"
 
-#include "BLI_math.h"
-
 #include "BKE_context.h"
 #include "BKE_depsgraph.h"
 #include "BKE_global.h"
index 13a3d7a523f6ee7f117d389cfb25e32a12cd3317..9b4f128ef867a2b00effa083f61482f21830b92f 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
-#include "MEM_guardedalloc.h"
 
-#include "DNA_group_types.h"
 #include "DNA_object_types.h"
-#include "DNA_mesh_types.h"
 #include "DNA_rigidbody_types.h"
 #include "DNA_scene_types.h"
 
 #include "BLI_blenlib.h"
-#include "BLI_math.h"
 
 #include "BLF_translation.h"
 
@@ -50,7 +46,6 @@
 #include "BKE_depsgraph.h"
 #include "BKE_global.h"
 #include "BKE_group.h"
-#include "BKE_object.h"
 #include "BKE_report.h"
 #include "BKE_rigidbody.h"
 
index 1c893992cf2bd0fd51cf651192e7b7c2c3d6f7a4..73443e72afb09ede091f216dff7206720eb37810 100644 (file)
@@ -37,8 +37,6 @@
 #include "DNA_rigidbody_types.h"
 #include "DNA_scene_types.h"
 
-#include "BLI_math.h"
-
 #ifdef WITH_BULLET
 #  include "RBI_api.h"
 #endif
@@ -48,8 +46,6 @@
 #include "BKE_rigidbody.h"
 
 #include "RNA_access.h"
-#include "RNA_define.h"
-#include "RNA_enum_types.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
index b572851903469e772aedc363f23971348e757117..9d5eed3c33dee38e3faa32d610210d28b86419b2 100644 (file)
 #include "RE_engine.h"
 
 #include "IMB_colormanagement.h"
-#include "IMB_imbuf.h"
 #include "IMB_imbuf_types.h"
 
-#include "GPU_extensions.h"
 
 #include "BIF_gl.h"
 #include "BIF_glutil.h"
@@ -86,7 +84,6 @@
 #include "RNA_access.h"
 #include "RNA_define.h"
 
-#include "wm_window.h"
 
 #include "render_intern.h"
 
index 559c86bf48c95018644fa23117aef063dc7c665b..1ebc7e85ad6affb22845e14bc6478128c624847e 100644 (file)
@@ -69,7 +69,6 @@
 #include "GPU_extensions.h"
 #include "GPU_glew.h"
 
-#include "wm_window.h"
 
 #include "render_intern.h"
 
index a669a1ccae9903204b8121d4bac5515a7a4971bd..42602f35deb71323c3c602fab4b9c4297f58fcab 100644 (file)
 
 #include "IMB_imbuf.h"
 #include "IMB_imbuf_types.h"
-#include "IMB_colormanagement.h"
 
-#include "GPU_extensions.h"
 
 #include "BIF_gl.h"
 #include "BIF_glutil.h"
 
-#include "PIL_time.h"
 
 #include "RE_pipeline.h"
 #include "RE_engine.h"
@@ -97,9 +94,7 @@
 #include "ED_datafiles.h"
 #include "ED_render.h"
 
-#include "UI_interface.h"
 
-#include "render_intern.h"
 
 ImBuf *get_brush_icon(Brush *brush)
 {
index eaa7cf40aca2ea414ecdfb6705c48c6bd87c74d3..5bbe11bd5ac4cfaa11435f04a43478da3e785431 100644 (file)
@@ -51,7 +51,6 @@
 #include "BKE_curve.h"
 #include "BKE_depsgraph.h"
 #include "BKE_font.h"
-#include "BKE_freestyle.h"
 #include "BKE_global.h"
 #include "BKE_image.h"
 #include "BKE_library.h"
 #include "BKE_world.h"
 #include "BKE_editmesh.h"
 
-#include "IMB_imbuf.h"
-#include "IMB_imbuf_types.h"
 
-#include "GPU_material.h"
 
 #ifdef WITH_FREESTYLE
+#  include "BKE_freestyle.h"
 #  include "FRS_freestyle.h"
+#  include "RNA_enum_types.h"
 #endif
 
 #include "RNA_access.h"
-#include "RNA_enum_types.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
index 8ea958143bcc1e7975705bc600d9cf0634cff310..be42e2ed5180e536a4e865dad45eba0124238348 100644 (file)
@@ -46,7 +46,6 @@
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
-#include "BKE_depsgraph.h"
 #include "BKE_DerivedMesh.h"
 #include "BKE_icons.h"
 #include "BKE_main.h"
index 630ff8fecf6b3b07b844395b0f4109c2a68a18fb..08406302b7054db018252af43925d1f56b3567ac 100644 (file)
@@ -41,7 +41,6 @@
 #include "BLI_utildefines.h"
 #include "BLI_linklist_stack.h"
 
-#include "BLF_translation.h"
 
 #include "BKE_context.h"
 #include "BKE_global.h"
index c095dfe779242e78cc02792b76ead7d0fcdb819d..134feb59d55112a2e0ed148ee75c5ff81a98f2bd 100644 (file)
@@ -45,7 +45,6 @@
 #include "BIF_gl.h"
 #include "BIF_glutil.h"
 
-#include "GPU_extensions.h"
 
 #include "IMB_colormanagement.h"
 #include "IMB_imbuf_types.h"
index 4828e6e512c9c72bc046059f1c282d88147fa52c..90804776d056840149d2c9a61165aec8af5cf5d7 100644 (file)
@@ -81,8 +81,6 @@
 #include "UI_interface.h"
 #include "UI_resources.h"
 
-#include "wm_window.h"
-
 #include "screen_intern.h"  /* own module include */
 
 #define KM_MODAL_CANCEL     1
index be5fd48b41add3c0951e6bb9b6f190d1da65b3bb..bb256147d09c6eafd34eb0eb47bd3885a4a7f5e3 100644 (file)
@@ -65,7 +65,6 @@
 
 #include "PIL_time.h"
 
-#include "ED_screen_types.h"
 
 #include "screen_intern.h"
 
index 021822793fffd4a3c8c2781f15533e1112cd75dc..a13a2f2773f47a6231d7a6bf690e432c85dc5f4d 100644 (file)
 #include "BLI_utildefines.h"
 #include "BLI_threads.h"
 
-#include "PIL_time.h"
 
 #include "IMB_imbuf.h"
 #include "IMB_imbuf_types.h"
 
 #include "DNA_brush_types.h"
-#include "DNA_mesh_types.h"
 #include "DNA_node_types.h"
 #include "DNA_object_types.h"
 
 #include "BKE_image.h"
 #include "BKE_main.h"
 #include "BKE_material.h"
-#include "BKE_mesh.h"
 #include "BKE_node.h"
 #include "BKE_paint.h"
-#include "BKE_report.h"
-#include "BKE_scene.h"
 #include "BKE_texture.h"
-#include "BKE_colortools.h"
-
-#include "BKE_editmesh.h"
 
 #include "UI_view2d.h"
 
@@ -85,7 +77,6 @@
 
 #include "RNA_access.h"
 #include "RNA_define.h"
-#include "RNA_enum_types.h"
 
 #include "GPU_draw.h"
 #include "GPU_buffers.h"
index ea0e30a6635dd37b2de39bd12e40aff0962ec457..44d562bbc7bb976addba034dd706723449481519 100644 (file)
@@ -38,9 +38,7 @@
 #include "DNA_space_types.h"
 #include "DNA_object_types.h"
 
-#include "BLI_math.h"
 
-#include "BLI_rect.h"
 #include "BLI_math_color_blend.h"
 #include "BLI_stack.h"
 #include "BLI_bitmap.h"
@@ -65,7 +63,6 @@
 
 #include "UI_view2d.h"
 
-#include "RE_shader_ext.h"
 
 #include "GPU_draw.h"
 
index 3d0952b5aaa6d9ddcc2f4f836c47b0c163b74a83..285c6a68285edfc473e8317356967c4458b6f393 100644 (file)
@@ -50,7 +50,6 @@
 
 #include "BLF_translation.h"
 
-#include "PIL_time.h"
 
 #include "IMB_imbuf.h"
 #include "IMB_imbuf_types.h"
@@ -62,7 +61,6 @@
 #include "DNA_object_types.h"
 
 #include "BKE_camera.h"
-#include "BKE_colortools.h"
 #include "BKE_context.h"
 #include "BKE_depsgraph.h"
 #include "BKE_DerivedMesh.h"
 #include "BKE_scene.h"
 #include "BKE_texture.h"
 
-#include "UI_view2d.h"
 #include "UI_interface.h"
 
-#include "ED_image.h"
 #include "ED_mesh.h"
 #include "ED_node.h"
 #include "ED_paint.h"
 #include "RNA_enum_types.h"
 
 #include "GPU_draw.h"
-#include "GPU_buffers.h"
 
 #include "IMB_colormanagement.h"
 
index 2ec1ca604e885cab20bd0fb9c84a00c510cc610a..12e7e8113559b023bc02bdec764349bcd9645349 100644 (file)
 
 #include "BLF_translation.h"
 
-#include "BKE_scene.h"
 #include "BKE_brush.h"
 #include "BKE_context.h"
 #include "BKE_DerivedMesh.h"
-#include "BKE_material.h"
 #include "BKE_image.h"
 #include "BKE_paint.h"
 #include "BKE_report.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
 
-#include "RE_shader_ext.h"
 #include "RE_render_ext.h"
 
 #include "ED_view3d.h"
 #include "ED_screen.h"
-#include "ED_uvedit.h"
 
 #include "BLI_sys_types.h"
 #include "ED_mesh.h" /* for face mask functions */
index 1e4931ac792c8668de9a6cebc324ec8959c40039..d2698e08d9a37b7895fc19180a2919fab892bdbb 100644 (file)
@@ -40,7 +40,6 @@
 #include "BLI_dial.h"
 #include "BLI_utildefines.h"
 #include "BLI_ghash.h"
-#include "BLI_threads.h"
 
 #include "BLF_translation.h"
 
@@ -56,7 +55,6 @@
 #include "BKE_brush.h"
 #include "BKE_ccg.h"
 #include "BKE_context.h"
-#include "BKE_crazyspace.h"
 #include "BKE_depsgraph.h"
 #include "BKE_image.h"
 #include "BKE_key.h"
@@ -85,7 +83,6 @@
 #include "RNA_access.h"
 #include "RNA_define.h"
 
-#include "RE_render_ext.h"
 
 #include "GPU_buffers.h"
 
index d90eaafa379de2dbdf35ff0f932219b483daf126..7122b37446213183cb911e9b4cd5d436ccd6767e 100644 (file)
@@ -60,7 +60,6 @@
 
 #include "RNA_access.h"
 #include "RNA_define.h"
-#include "RNA_enum_types.h"
 
 #include "paint_intern.h"
 #include "uvedit_intern.h"
index 7ede6c95b9da478c1cb602483bf89ca15ee2e44c..2f5dc0ccdc44b4a78939a0c404616cf7f7baa83a 100644 (file)
@@ -72,7 +72,6 @@
 #include "ED_sound.h"
 #include "ED_util.h"
 
-#include "sound_intern.h"
 
 /******************** open sound operator ********************/
 
index b99419dec204189fd37f427cadd47fdd12197a4e..364434ee0ce83e710660afea48861852e40a3f79 100644 (file)
@@ -35,7 +35,6 @@
 
 #include "DNA_space_types.h"
 
-#include "BLI_utildefines.h"
 
 #include "ED_anim_api.h"
 #include "ED_markers.h"
@@ -44,7 +43,6 @@
 #include "action_intern.h"
 
 #include "RNA_access.h"
-#include "RNA_define.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
index 77c6cce6cda93480fe2f5967a8265d54e93c826f..7edd8cf7ab7f82f36155f7a63abf5f2676e198ac 100644 (file)
@@ -32,7 +32,6 @@
 #include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
 
-#include "DNA_object_types.h"
 #include "DNA_scene_types.h"
 #include "DNA_windowmanager_types.h"
 
@@ -61,7 +60,6 @@
 #include "ED_space_api.h"
 #include "ED_sound.h"
 #include "ED_uvedit.h"
-#include "ED_view3d.h"
 #include "ED_mball.h"
 #include "ED_logic.h"
 #include "ED_clip.h"
index 095993addf5e53561b74c23f80b2fa73fc3ee8df..a67af289f593085894fa47f5c608d1d5c65bd837 100644 (file)
@@ -61,7 +61,9 @@
 #include "BKE_paint.h"
 #include "BKE_particle.h"
 #include "BKE_scene.h"
-#include "BKE_freestyle.h"
+#ifdef WITH_FREESTYLE
+#  include "BKE_freestyle.h"
+#endif
 
 #include "RNA_access.h"
 
index 4d62f528915d42ea834b08a310bd3cfa0aa87193..a778df4b783f0ecd144fd25f58864de0c7f4ab9a 100644 (file)
@@ -28,7 +28,6 @@
  *  \ingroup spbuttons
  */
 
-
 #include <string.h>
 #include <stdio.h>
 
 #include "WM_api.h"
 #include "WM_types.h"
 
-#include "UI_resources.h"
-#include "UI_view2d.h"
-
-
 #include "buttons_intern.h"  /* own include */
 
 /* ******************** default callbacks for buttons space ***************** */
index fe5b332aeb11df595cb9bdd97ef0f4acb1312f31..4bf4c1e7baae3520528c801051bb30ae9ea0fe17 100644 (file)
@@ -30,7 +30,6 @@
  */
 
 #include "DNA_movieclip_types.h"
-#include "DNA_object_types.h"   /* SELECT */
 #include "DNA_scene_types.h"
 
 #include "BLI_utildefines.h"
index 7ae5eda713926d1d56081281e0651e2257cd8cef..d2f2fdd0b46597d4836a2acfc3ca6a0ce26f34e0 100644 (file)
@@ -29,7 +29,6 @@
  *  \ingroup spclip
  */
 
-#include "DNA_object_types.h"  /* SELECT */
 #include "DNA_scene_types.h"
 
 #include "BLI_utildefines.h"
index a35251e71ef1ffe80194be5db6dcb80eaa3b2666..6f63979b8fa5028ed0ab8741a83add82deee73d4 100644 (file)
@@ -63,7 +63,6 @@
 #include "UI_resources.h"
 #include "UI_view2d.h"
 
-#include "RNA_access.h"
 
 #include "BLF_api.h"
 
index f25f035db32d1591b1d631977a0a410ee4a5eed8..89693a403fe60bd7f33ea22a66145eaff1076bf6 100644 (file)
@@ -57,7 +57,6 @@
 #include "BKE_tracking.h"
 #include "BKE_library.h"
 
-#include "GPU_extensions.h"
 
 #include "IMB_colormanagement.h"
 #include "IMB_imbuf_types.h"
index 723c8bd144ab6fab440c7fe97eb1de7b2ab8ba66..2c3b8acf672a2860bc92fc23e1188a9296de44e4 100644 (file)
@@ -50,7 +50,6 @@
 #include "UI_resources.h"
 #include "UI_view2d.h"
 
-#include "BLF_api.h"
 
 #include "clip_intern.h"    // own include
 
index d1e2c770ade38e525ced21d696ecd0929776b04b..2a2f15c94bbd13bdbd40362de013b79468bf7cc9 100644 (file)
@@ -45,8 +45,6 @@
 #include "ED_screen.h"
 #include "ED_clip.h"
 
-#include "UI_interface.h"
-
 #include "RNA_access.h"
 #include "RNA_define.h"
 
index a79ac1f7b8205adafd64fd82ca77bc7759d00438..5f919c9b51d62ffb2b7abe9b2a74d6240cc80fa3 100644 (file)
  */
 
 #include "DNA_scene_types.h"
-#include "DNA_object_types.h"   /* SELECT */
 
 #include "MEM_guardedalloc.h"
 
 #include "BLI_utildefines.h"
-#include "BLI_math.h"
 #include "BLI_listbase.h"
 #include "BLI_string.h"
 
@@ -54,8 +52,6 @@
 #include "ED_screen.h"
 #include "ED_clip.h"
 
-#include "RNA_access.h"
-#include "RNA_define.h"
 
 #include "UI_interface.h"
 #include "UI_resources.h"
index bdb57cca81e1735c0b896dbcd28e423405e429ce..742e58d80dd3814b0b90d30d8f16f3a4899c8ece 100644 (file)
@@ -41,7 +41,6 @@
 #include "BLI_utildefines.h"
 #include "BLI_math.h"
 #include "BLI_listbase.h"
-#include "BLI_rect.h"
 #include "BLI_blenlib.h"
 
 #include "BKE_main.h"
@@ -65,7 +64,6 @@
 #include "IMB_imbuf_types.h"
 #include "IMB_imbuf.h"
 
-#include "UI_interface.h"
 
 #include "RNA_access.h"
 #include "RNA_define.h"
@@ -74,7 +72,6 @@
 
 #include "PIL_time.h"
 
-#include "UI_view2d.h"
 
 #include "clip_intern.h"    // own include
 
index 860d9dc6b3c839a3607509359732b84bb2f1f8c8..bc6ac507f03c450e325ab8a840a240a3aec5a68f 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "BLI_utildefines.h"
 #include "BLI_math.h"
-#include "BLI_listbase.h"
 #include "BLI_rect.h"
 #include "BLI_lasso.h"
 
 #include "ED_screen.h"
 #include "ED_clip.h"
 
-#include "IMB_imbuf_types.h"
-#include "IMB_imbuf.h"
-
-#include "UI_interface.h"
-
 #include "RNA_access.h"
 #include "RNA_define.h"
 
-#include "PIL_time.h"
-
 #include "UI_view2d.h"
 
 #include "clip_intern.h"    // own include
index 635d5ea07fd8a4ebe0bc8337ebf10eb180b5d0ca..d206ce4699e8184fc7b65c50de8f20a95d329744 100644 (file)
@@ -30,7 +30,6 @@
 #include <sys/stat.h>
 #include <limits.h>
 
-#include "BLF_api.h"
 
 #include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
index 6f63f315f74518ad3f7c25ca87019b9918db3b2f..2b2fa04c4a63d03d203d830ef132c768e2353d22 100644 (file)
@@ -47,7 +47,6 @@
 #include "BKE_global.h"
 #include "BKE_main.h"
 
-#include "BLF_api.h"
 #include "BLF_translation.h"
 
 #include "IMB_imbuf_types.h"
@@ -67,7 +66,6 @@
 
 #include "WM_types.h"
 
-#include "fsmenu.h"
 #include "filelist.h"
 
 #include "file_intern.h"    // own include
index dc41a781170a2b677a9a6a6f575ed23596b1a4ae..fa65053ca8eecb32ea8c82111ea1f70ad4dd2d86 100644 (file)
@@ -39,7 +39,6 @@
 #include "BLI_utildefines.h"
 #include "BLI_fileops_types.h"
 
-#include "BLO_readfile.h"
 
 #include "BKE_appdir.h"
 #include "BKE_context.h"
index 53beb5e06599a210ab06e8913a75ba6a93db609e..2ca659252d2c4c55ead9f2495a73a5b7d9bbd065 100644 (file)
@@ -60,8 +60,6 @@
 #include "BKE_context.h"
 #include "BKE_report.h"
 
-#include "UI_interface.h"
-#include "UI_resources.h"
 #include "UI_view2d.h"
 
 #include "ED_anim_api.h"
index e9c8ae95acdc3588324c14c76dcf2a9786f18d8a..eea360ced453cfc5aed4f705d07a289d8761bc35 100644 (file)
@@ -40,7 +40,6 @@
 
 #include "MEM_guardedalloc.h"
 
-#include "BLI_math.h"
 #include "BLI_blenlib.h"
 
 #include "BKE_context.h"
index 86af89bd6a94d80f00b40af8bf265a872fa31650..e2895109b4874e24914fac5335566db366886ae7 100644 (file)
@@ -33,7 +33,6 @@
 #include <sys/stat.h>
 #include <limits.h>
 
-#include "BLF_api.h"
 
 #include "BLI_utildefines.h"
 
@@ -45,8 +44,6 @@
 
 #include "BIF_gl.h"
 
-#include "ED_datafiles.h"
-#include "ED_types.h"
 
 #include "UI_resources.h"
 #include "UI_interface.h"
index 085fe68df92fa0c4379118bfdf7b273d520e5b39..e0cbc1c9539373089f49ecab9e435d7398c30a36 100644 (file)
@@ -34,7 +34,6 @@
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
-#include "BKE_screen.h"
 
 #include "ED_screen.h"
 
index 4cae820de89982b8e766e5d252a5d5850a7e5a0a..c5105fd9724d3e9b9aad05ecf94a864794d6575b 100644 (file)
@@ -59,7 +59,6 @@
 #include "WM_types.h"
 
 #include "UI_interface.h"
-#include "UI_interface_icons.h"
 #include "UI_resources.h"
 #include "UI_view2d.h"
 
index 5e1381db696e59aef3122e7678ce0902240172fb..b3a875047dba451fc0a682ad4d73435b88928cfa 100644 (file)
  *  \ingroup spnla
  */
 
-
 #include <string.h>
 #include <stdio.h>
 
 #include "DNA_scene_types.h"
 
-
-#include "BLI_blenlib.h"
-
 #include "BKE_context.h"
 #include "BKE_screen.h"
 
index e0fe622d98d2e39145c94fb7ca60f69945fa070a..d03f980e204deb5e39235fb9e935dc68c8943246 100644 (file)
@@ -54,7 +54,6 @@
 
 #include "RNA_access.h"
 #include "RNA_define.h"
-#include "RNA_enum_types.h"
 
 #include "ED_node.h"
 
@@ -64,7 +63,6 @@
 #include "UI_resources.h"
 
 #include "IMB_colormanagement.h"
-#include "IMB_imbuf.h"
 #include "IMB_imbuf_types.h"
 
 #include "node_intern.h"  /* own include */
index 1e7fffa44f77c613e19401d814d40cb8e9ce3ad2..bb7d1f50d7bdfeb2c2762e085639dd7cdf0a743f 100644 (file)
@@ -35,7 +35,6 @@
 
 #include "BLI_listbase.h"
 #include "BLI_math.h"
-#include "BLI_path_util.h"
 
 #include "BLF_translation.h"
 
index 42259a37f454e8f2450efa0c3e56ee8651dd6842..127e2d3a48e1659066fcd04982a0cbb610cdc8ef 100644 (file)
 #include "RNA_access.h"
 
 #include "node_intern.h"  /* own include */
-#include "COM_compositor.h"
+
+#ifdef WITH_COMPOSITOR
+#  include "COM_compositor.h"
+#endif
 
 /* XXX interface.h */
 extern void ui_draw_dropshadow(const rctf *rct, float radius, float aspect, float alpha, int select);
index 1b82e89a364b853518b8feb2166d8333d485e623..1e258368b8b68c0a4c818f98219c99bc4cd2f839 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "MEM_guardedalloc.h"
 
-#include "DNA_action_types.h"
 #include "DNA_lamp_types.h"
 #include "DNA_material_types.h"
 #include "DNA_node_types.h"
@@ -73,8 +72,6 @@
 #include "IMB_imbuf_types.h"
 
 #include "node_intern.h"  /* own include */
-#include "NOD_common.h"
-#include "NOD_socket.h"
 #include "NOD_composite.h"
 #include "NOD_shader.h"
 #include "NOD_texture.h"
index 2a8b0da5b3cc196d6109ee5303d6f4062d38ddc5..b69808d4e816ecd578925a413a7d16f97c71d0e6 100644 (file)
@@ -55,7 +55,6 @@
 
 #include "RNA_access.h"
 #include "RNA_define.h"
-#include "RNA_enum_types.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
@@ -64,7 +63,6 @@
 
 #include "node_intern.h"  /* own include */
 #include "NOD_common.h"
-#include "NOD_socket.h"
 
 static int node_group_operator_active(bContext *C)
 {
index 3d7b5eba738e24e1635dccf091451fcdce3cf468..c8951a1172ed55ec00602f111c2d40f8fea41804 100644 (file)
@@ -57,7 +57,6 @@
 #include "BLF_translation.h"
 
 #include "node_intern.h"  /* own include */
-#include "NOD_common.h"
 
 /* ****************** Add *********************** */
 
index ab0619604a9721eaaf571c11900dd3b03314b00c..9075117a7614e517b5d9db0ac1dc5a93937ca769 100644 (file)
@@ -54,7 +54,6 @@
 
 #include "ED_util.h"
 
-#include "node_intern.h"
 
 /************************* Node Socket Manipulation **************************/
 
index dd5bad3f8adf776be223f1e3202801a0cf513110..e3e263f2e44fb922cd3a847f45c44d822fccfcd9 100644 (file)
  *  \ingroup nodes
  */
 
-
-#include "MEM_guardedalloc.h"
-
 #include "BLI_utildefines.h"
 
 #include "DNA_node_types.h"
 
 #include "BKE_context.h"
-#include "BKE_node.h"
 #include "BKE_screen.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
 
-#include "RNA_access.h"
-
 #include "ED_screen.h"
 
-#include "UI_interface.h"
-#include "UI_resources.h"
-
 #include "node_intern.h"  /* own include */
 
 
index e28c775ad8895e30090e1997710647f1c44ef7ff..df6652d7620f9c7c6b37b11d999273b455790612 100644 (file)
@@ -28,8 +28,6 @@
  *  \ingroup spnode
  */
 
-
-
 #include "DNA_lamp_types.h"
 #include "DNA_material_types.h"
 #include "DNA_node_types.h"
index d735b5e75cfe15fffcadbf6ce87d9e8fe3bb077b..4f13454ef340dacb9996aeaef48dac465202ca89 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "DNA_space_types.h"
 
-#include "BLI_utildefines.h"
 
 #include "RNA_access.h"
 
index 29a24cca7996e4e618e144b3b620561c5954ff12..d265ae62db6dc4226f9d2f539b7a5d8b73e7eb3a 100644 (file)
@@ -32,7 +32,6 @@
 #include <string.h>
 #include <stdio.h>
 
-#include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
index 045df87d8db565adfa54f98115af9641a0605be6..41c07596a3b788034adc097a26bf20c0ad113fee 100644 (file)
 #include <stdlib.h>
 #include <math.h>
 
-
-#include "DNA_screen_types.h"
-#include "DNA_space_types.h"
-
-#include "BLI_math.h"
-#include "BLI_blenlib.h"
-
-#include "BKE_context.h"
-
-#include "RNA_access.h"
-
 #include "WM_api.h"
-#include "WM_types.h"
 
 
 #include "script_intern.h"
@@ -63,4 +51,3 @@ void script_keymap(wmKeyConfig *UNUSED(keyconf))
 {
        /* Script space is deprecated, and doesn't need a keymap */
 }
-
index fd2cd268a270768957d544fe9f2a4e1f1b88bcb5..759dcd3d0a4454db0e0f37e5cd46d699677ee497 100644 (file)
@@ -35,7 +35,6 @@
 #include "MEM_guardedalloc.h"
 
 #include "BLI_blenlib.h"
-#include "BLI_math.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
@@ -53,7 +52,6 @@
 #include "UI_view2d.h"
 
 #ifdef WITH_PYTHON
-#include "BPY_extern.h"
 #endif
 
 #include "script_intern.h"  // own include
index a94ce52aca53e1827321d9d144df302b7a413910..0ab4dcbeae2fc08df1d815b3367d2af2d6c32329 100644 (file)
@@ -40,7 +40,6 @@
 #include "DNA_scene_types.h"
 #include "DNA_mask_types.h"
 
-#include "BLF_translation.h"
 
 #include "BKE_context.h"
 #include "BKE_global.h"
@@ -61,7 +60,6 @@
 #include "ED_screen.h"
 #include "ED_sequencer.h"
 
-#include "UI_view2d.h"
 
 #include "BKE_sound.h"
 
index d75eeca2c677f87282204664f3f1f7c76b605949..2d8693381a0394160cf442279225cee4768b08df 100644 (file)
@@ -46,7 +46,6 @@
 #include "WM_api.h"
 #include "WM_types.h"
 
-#include "UI_interface.h"
 
 #include "sequencer_intern.h"
 
index bf2860b819cca77129980cb30f48c0774ce36ef3..e499cd760d690187b62b2350460c3b9986b3a496 100644 (file)
@@ -63,7 +63,6 @@
 #include "ED_mask.h"
 #include "ED_sequencer.h"
 #include "ED_space_api.h"
-#include "ED_screen.h"
 
 #include "UI_interface.h"
 #include "UI_resources.h"
@@ -71,7 +70,6 @@
 
 #include "WM_api.h"
 
-#include "MEM_guardedalloc.h"
 
 /* own include */
 #include "sequencer_intern.h"
index 8c8b7c53bc2bc275eee52d1b4e5cf2d605d25e3e..db09af55b18c3ac20fa7bd117ad45d20e817a66b 100644 (file)
@@ -49,7 +49,6 @@
 #include "BKE_report.h"
 #include "BKE_sound.h"
 
-#include "IMB_imbuf.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
 #include "ED_space_api.h"
 
 #include "UI_view2d.h"
-#include "UI_resources.h"
 
 #include "GL/glew.h"
-#include "BIF_glutil.h"
 
 /* own include */
 #include "sequencer_intern.h"
index ff40bf1e638f060bc3464add0a1dd86d5394f7f8..dc70abada183e2af6cb7b125a97524742edec4e6 100644 (file)
  *  \ingroup spseq
  */
 
-#include "MEM_guardedalloc.h"
 
 #include "BLI_blenlib.h"
-#include "BLI_math.h"
 #include "BLI_utildefines.h"
 
 #include "DNA_scene_types.h"
-#include "DNA_mask_types.h"
 #include "DNA_userdef_types.h"
 
 #include "BKE_context.h"
-#include "BKE_global.h"
-#include "BKE_library.h"
-#include "BKE_main.h"
 #include "BKE_sequencer.h"
-#include "BKE_movieclip.h"
-#include "BKE_mask.h"
-#include "BKE_report.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
@@ -54,8 +45,6 @@
 #include "RNA_define.h"
 #include "RNA_enum_types.h"
 
-#include "UI_interface.h"
-#include "UI_resources.h"
 
 /* own include */
 #include "sequencer_intern.h"
index 02bac251065f108a13d3da9197276f018aa83141..92a3cce12e647e43ba6a745d905be18a4987c987 100644 (file)
@@ -34,7 +34,6 @@
 
 #include "BLI_blenlib.h"
 
-#include "BLF_translation.h"
 
 #include "BKE_context.h"
 #include "BKE_screen.h"
index 0bd094b6a33eb06cf414f54134628be3e6aeaaf9..f986e909c7f329317d0277b8048fbf47f06bc010 100644 (file)
@@ -47,9 +47,7 @@
 #include "WM_api.h"
 #include "WM_types.h"
 
-#include "UI_view2d.h"
 
-#include "userpref_intern.h"   // own include
 
 /* ******************** default callbacks for userpref space ***************** */
 
index 8dd6c3c0271efbff6ad871a97211d458d2f00466..0783eacc65c99302cb171330efe8df88158e5dc2 100644 (file)
@@ -32,5 +32,4 @@
 #include <string.h>
 #include <stdio.h>
 
-#include "userpref_intern.h"
 
index 17f90fc54e3b4fed272a181bb7152f3d03f8e7e2..d8b18140cdeac20ec5d65e8c3a0fbb2af816e6ac 100644 (file)
@@ -54,7 +54,6 @@
 #include "ED_armature.h"
 #include "ED_keyframes_draw.h"
 
-#include "BLF_api.h"
 
 #include "UI_resources.h"
 
index f25e4f143e6deacfec12f14ccebf3dcc66639930..691da78f26bf2e09b3030b59cc7814da6fa57924 100644 (file)
@@ -61,7 +61,6 @@
 #include "ED_armature.h"
 #include "ED_keyframes_draw.h"
 
-#include "BLF_api.h"
 
 #include "UI_resources.h"
 
index 59798f97d934eec94e5991100f44f5935c6041ab..a220e1e39b02146dcaff2c5186d90edab37e14cc 100644 (file)
@@ -27,8 +27,6 @@
  *  \ingroup spview3d
  */
 
-
-
 #include <string.h>
 #include <math.h>
 
@@ -38,7 +36,6 @@
 #include "DNA_screen_types.h"
 #include "DNA_smoke_types.h"
 #include "DNA_view3d_types.h"
-#include "DNA_property_types.h"
 
 #include "BLI_utildefines.h"
 #include "BLI_math.h"
@@ -53,8 +50,6 @@
 
 #include "ED_mesh.h"
 
-#include "BLF_api.h"
-
 #include "view3d_intern.h"  // own include
 
 struct GPUTexture;
index a58eff3ffff4fadfda4dd796452343af7cf1c321..6191a49082daab4d4f7261a1728bf6aa6b24d509 100644 (file)
@@ -69,7 +69,6 @@
 
 #include "ED_armature.h"
 #include "ED_gpencil.h"
-#include "ED_object.h"
 #include "ED_mesh.h"
 #include "ED_screen.h"
 
index c0314546b888b5730c0083d8b679681c7c552266..95e918abdcf85e6f67af44aee229bd8ba6124468 100644 (file)
 #include "MEM_guardedalloc.h"
 
 #include "BLI_math.h"
-#include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_object.h"
 
 #include "BKE_depsgraph.h" /* for object updating */
 
-#include "ED_keyframing.h"
 #include "ED_screen.h"
 
 #include "view3d_intern.h"  /* own include */
index 91743adf2e939fb0cdc818c56080876e5e2a2aad..d714df6ff3aabab5475ad239d643d1c6bcef9317 100644 (file)
@@ -49,9 +49,7 @@
 #include "BKE_camera.h"
 #include "BKE_context.h"
 #include "BKE_font.h"
-#include "BKE_image.h"
 #include "BKE_library.h"
-#include "BKE_main.h"
 #include "BKE_object.h"
 #include "BKE_paint.h"
 #include "BKE_report.h"
index 4c19f59a1481aad3dbc97fb0007143fab1ed941b..11ed9867e2fa30bf366d54fb42cfabff5259a7bb 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "DNA_brush_types.h"
 #include "DNA_scene_types.h"
 #include "DNA_object_types.h"
 
-#include "BLI_math.h"
-#include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
 
 #include "BLF_translation.h"
@@ -45,8 +42,6 @@
 #include "BKE_context.h"
 #include "BKE_depsgraph.h"
 #include "BKE_main.h"
-#include "BKE_modifier.h"
-#include "BKE_paint.h"
 #include "BKE_screen.h"
 #include "BKE_editmesh.h"
 
index 08a69830c03d20bb55960913811f4e83f20b4993..38ecbed3b5f869233a4163050fca9b14a229ec59 100644 (file)
@@ -93,7 +93,6 @@
 #include "ED_mball.h"
 
 #include "UI_interface.h"
-#include "UI_resources.h"
 
 #include "view3d_intern.h"  /* own include */
 
index 0e17d8fc354189d5d35448756f73e637f9c8cb3c..f127f375a9fcb1702a942a62e3a2940d3da1b23d 100644 (file)
@@ -39,7 +39,6 @@
 
 #include "MEM_guardedalloc.h"
 
-#include "BLI_math.h"
 #include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
 #include "BLI_ghash.h"
index 4d5e10cfc56bbebc88cc8c9bfd40819005d3ea0d..c0e26498af648a2c2910de80f12ca8cc94aeac44 100644 (file)
@@ -37,9 +37,7 @@
 
 #include "BLI_math.h"
 #include "BLI_rect.h"
-#include "BLI_listbase.h"
 #include "BLI_utildefines.h"
-#include "BLI_callbacks.h"
 
 #include "BKE_anim.h"
 #include "BKE_action.h"
@@ -55,7 +53,6 @@
 #include "BIF_gl.h"
 #include "BIF_glutil.h"
 
-#include "GPU_draw.h"
 #include "GPU_select.h"
 
 #include "WM_api.h"
 #include "ED_screen.h"
 #include "ED_armature.h"
 
-#include "RE_engine.h"
 
 #ifdef WITH_GAMEENGINE
-#include "BL_System.h"
+#  include "BLI_listbase.h"
+#  include "BLI_callbacks.h"
+
+#  include "GPU_draw.h"
+
+#  include "BL_System.h"
 #endif
 
-#include "RNA_access.h"
-#include "RNA_define.h"
 
 #include "view3d_intern.h"  /* own include */
 
index 9b9b7a8d258ab58a4f3d410cdd7cd95f8d4b2b8c..191eeb05c716213675d93ea2a1ee40c7b6928b04 100644 (file)
@@ -42,8 +42,6 @@
 
 #include "BLF_translation.h"
 
-#include "RNA_define.h"
-#include "RNA_enum_types.h"
 
 #include "BIF_gl.h"
 
index db29c7c0cd67a66e957e32e92c51d229ef574b10..5b3d5b776be29608abfc2a5b9e3796d991efbb8e 100644 (file)
@@ -54,7 +54,6 @@
 
 #include "BLI_math.h"
 #include "BLI_utildefines.h"
-#include "BLI_smallhash.h"
 #include "BLI_listbase.h"
 #include "BLI_linklist_stack.h"
 #include "BLI_string.h"
@@ -90,7 +89,6 @@
 #include "BKE_editmesh.h"
 #include "BKE_tracking.h"
 #include "BKE_mask.h"
-#include "BKE_lattice.h"
 
 #include "BIK_api.h"
 
index ece681b228e91450731079dedb89f7b5c46fb65c..b2cda9a350f04abe95231e6de50257b52a8ce225 100644 (file)
@@ -324,6 +324,9 @@ static void transformops_loopsel_hack(bContext *C, wmOperator *op)
                }
        }
 }
+#else
+/* prevent removal by cleanup */
+#  error "loopslide hack removed!"
 #endif  /* USE_LOOPSLIDE_HACK */
 
 
index ba93d4463b7e3fbc5650b722962be33b24075be5..ca19bb74472f907600af2218ba04f1dbe96a4816 100644 (file)
@@ -24,7 +24,6 @@
  *  \ingroup edtransform
  */
 
-
 #include <string.h>
 #include <stddef.h>
 #include <ctype.h>
 
 #include "ED_armature.h"
 
-#include "RNA_define.h"
-
-#include "UI_interface.h"
-
 #include "transform.h"
 
 /* *********************** TransSpace ************************** */
index ef95e4cb3ffd755ecf8e33fbffb0dd979a650379..2428ee213678f2baeebb77bd4a6c8969eec32f70 100644 (file)
@@ -48,8 +48,6 @@
 #include "ED_util.h"
 #include "ED_mesh.h"
 
-#include "UI_interface.h"
-#include "UI_resources.h"
 
 #include "util_intern.h"
 
index 104414d7f81089eb8fb63f6fb27874d8fe1fdd69..fac57490b4436fb8cd7f3c4ded607762fc86b12c 100644 (file)
@@ -29,8 +29,6 @@
  *  \ingroup edutil
  */
 
-
-
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
index d0db3595c373b5843db03d38788b869ca1cd705d..a15259e7d2d2ea2f5443d73eae592a00100b7b61 100644 (file)
@@ -53,7 +53,6 @@
 #include "ED_uvedit.h"
 
 #include "UI_interface.h"
-#include "UI_resources.h"
 
 #include "WM_api.h"
 #include "WM_types.h"
index 4c93cfa2cc5209da288bf8c5735201929b8f9359..b2c4970479a5b10f20f8d56634d58659640c41cb 100644 (file)
@@ -43,7 +43,6 @@
 
 #include "BLI_math.h"
 #include "BLI_utildefines.h"
-#include "BLI_alloca.h"
 #include "BLI_buffer.h"
 #include "BLI_bitmap.h"
 
index 2ca50afb0f2809872b4b8dff610d9da3c437b208..eaf1db8a1d62a57bb4268d47ad516642b7c5d7c8 100644 (file)
@@ -30,8 +30,6 @@
  *  \ingroup ikplugin
  */
 
-
-
 #include "BIK_api.h"
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
index 677c3dbe7009408b4adc556b3a7fb6d8f11c678a..759f8cc82c2647367193952cc9cc65811d87d31a 100644 (file)
@@ -22,7 +22,6 @@
  *  \ingroup imbuf
  */
 
-
 #include "MEM_guardedalloc.h"
 
 #include "BLI_utildefines.h"
@@ -31,8 +30,6 @@
 #include "BLI_memarena.h"
 #include "BLI_threads.h"
 
-
-
 #include "IMB_imbuf.h"
 #include "IMB_imbuf_types.h"
 #include "IMB_filetype.h"
index 65f2391983e07eaf076201d99e7be8621a4f6afd..70e52d432cda4f1d2bf0ffe01dbec559fc2e631c 100644 (file)
  *  \ingroup cmpnodes
  */
 
-
-
 #include "node_composite_util.h"
 
-
 /* ******************* Color Balance ********************************* */
 static bNodeSocketTemplate cmp_node_colorbalance_in[] = {
        {SOCK_FLOAT, 1, N_("Fac"),      1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, PROP_FACTOR},
index 3ce01ce03bfef3a2e3fea02c48c369bc24dce6b9..de152ee45d1a0d9f238eaefc2f924c3fb8aef730 100644 (file)
  *  \ingroup shdnodes
  */
 
-
-
 #include "node_shader_util.h"
 
-
 /* **************** BUMP ******************** */ 
 static bNodeSocketTemplate sh_node_bump_in[] = {
        { SOCK_FLOAT, 1, N_("Strength"),        1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
index f2ea2faa5a77d2da79262788e65c6b10fa541f3a..9e75d915d44e8a1c3d97e72f3c012eaf79723906 100644 (file)
  *  \ingroup shdnodes
  */
 
-
-
 #include "node_shader_util.h"
 
-
 /* **************** VECTOR MATH ******************** */ 
 static bNodeSocketTemplate sh_node_vect_math_in[] = {
        { SOCK_VECTOR, 1, N_("Vector"), 0.5f, 0.5f, 0.5f, 1.0f, -10000.0f, 10000.0f, PROP_NONE},
index 71ca844096291be2e094a6636b0a034e11347c13..11184b95a9c637442e548920770facce36d9e330 100644 (file)
@@ -43,8 +43,6 @@
 #include "bmesh_py_types.h"
 #include "bmesh_py_types_select.h"
 
-
-
 #include "../generic/py_capi_utils.h"
 
 #include "bmesh_py_api.h" /* own include */