diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-21 03:18:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-21 03:18:29 +0300 |
commit | 3589701f6d48e4de786615c2b0d249f4150d1e4b (patch) | |
tree | 5267f32b97726f0baf8da7fb5833d722eca3ef2a /source/blender/editors/sculpt_paint | |
parent | 7926e8ea4c11e55c56b1d051e9ccb68dbfddb58b (diff) |
Cleanup: unused headers in editors
Diffstat (limited to 'source/blender/editors/sculpt_paint')
15 files changed, 0 insertions, 45 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_curve.c b/source/blender/editors/sculpt_paint/paint_curve.c index d9fd194e96f..62c31c91f8d 100644 --- a/source/blender/editors/sculpt_paint/paint_curve.c +++ b/source/blender/editors/sculpt_paint/paint_curve.c @@ -35,8 +35,6 @@ #include "BKE_main.h" #include "BKE_paint.h" -#include "DEG_depsgraph.h" - #include "ED_view3d.h" #include "ED_paint.h" diff --git a/source/blender/editors/sculpt_paint/paint_curve_undo.c b/source/blender/editors/sculpt_paint/paint_curve_undo.c index bd62a59e73f..c14ccd27804 100644 --- a/source/blender/editors/sculpt_paint/paint_curve_undo.c +++ b/source/blender/editors/sculpt_paint/paint_curve_undo.c @@ -35,7 +35,6 @@ #include "ED_undo.h" #include "WM_api.h" -#include "WM_types.h" #include "paint_intern.h" diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index fbeb0ea3095..cfb42407fb7 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -37,7 +37,6 @@ #include "BKE_ccg.h" #include "BKE_context.h" #include "BKE_mesh.h" -#include "BKE_mesh_runtime.h" #include "BKE_multires.h" #include "BKE_paint.h" #include "BKE_subsurf.h" diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 04a54ad5137..4ec3d4ec70b 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -77,15 +77,11 @@ #include "BKE_report.h" #include "BKE_scene.h" #include "BKE_screen.h" -#include "BKE_texture.h" #include "DEG_depsgraph.h" #include "DEG_depsgraph_query.h" -#include "UI_interface.h" - #include "ED_object.h" -#include "ED_mesh.h" #include "ED_node.h" #include "ED_paint.h" #include "ED_screen.h" @@ -105,7 +101,6 @@ #include "IMB_colormanagement.h" -#include "bmesh.h" //#include "bmesh_tools.h" #include "paint_intern.h" diff --git a/source/blender/editors/sculpt_paint/paint_image_undo.c b/source/blender/editors/sculpt_paint/paint_image_undo.c index 72001d8ee4c..496db9793b7 100644 --- a/source/blender/editors/sculpt_paint/paint_image_undo.c +++ b/source/blender/editors/sculpt_paint/paint_image_undo.c @@ -29,7 +29,6 @@ #include "DNA_object_types.h" #include "DNA_screen_types.h" #include "DNA_space_types.h" -#include "DNA_workspace_types.h" #include "IMB_imbuf.h" #include "IMB_imbuf_types.h" diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index f58afcdadc1..97455d479dc 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -29,32 +29,22 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_brush_types.h" -#include "DNA_gpencil_types.h" #include "BKE_brush.h" #include "BKE_context.h" -#include "BKE_gpencil.h" #include "BKE_library.h" #include "BKE_main.h" #include "BKE_paint.h" -#include "BKE_report.h" - -#include "DEG_depsgraph.h" #include "ED_paint.h" #include "ED_screen.h" -#include "ED_select_utils.h" #include "ED_image.h" -#include "ED_gpencil.h" -#include "UI_resources.h" #include "WM_api.h" #include "WM_types.h" -#include "WM_toolsystem.h" #include "RNA_access.h" #include "RNA_define.h" -#include "RNA_enum_types.h" #include "paint_intern.h" #include "sculpt_intern.h" diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 6989c892093..8ab0e325be2 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -43,7 +43,6 @@ #include "BKE_curve.h" #include "BKE_colortools.h" #include "BKE_image.h" -#include "BKE_mesh.h" #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c index 05daf88419d..6cf80ebf241 100644 --- a/source/blender/editors/sculpt_paint/paint_utils.c +++ b/source/blender/editors/sculpt_paint/paint_utils.c @@ -46,7 +46,6 @@ #include "BKE_image.h" #include "BKE_material.h" #include "BKE_mesh_runtime.h" -#include "BKE_object.h" #include "BKE_paint.h" #include "BKE_report.h" diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index f994ae12146..632b2472242 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -34,7 +34,6 @@ #include "BLI_array_utils.h" #include "BLI_task.h" -#include "DNA_armature_types.h" #include "DNA_mesh_types.h" #include "DNA_particle_types.h" #include "DNA_scene_types.h" @@ -42,7 +41,6 @@ #include "DNA_object_types.h" #include "RNA_access.h" -#include "RNA_define.h" #include "BKE_brush.h" #include "BKE_context.h" diff --git a/source/blender/editors/sculpt_paint/paint_vertex_color_utils.c b/source/blender/editors/sculpt_paint/paint_vertex_color_utils.c index 068c36abdaa..71865d0de73 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex_color_utils.c +++ b/source/blender/editors/sculpt_paint/paint_vertex_color_utils.c @@ -20,13 +20,9 @@ * Intended for use by `paint_vertex.c` & `paint_vertex_color_ops.c`. */ -#include "MEM_guardedalloc.h" - -#include "DNA_brush_types.h" #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" -#include "DNA_scene_types.h" #include "BLI_math_base.h" #include "BLI_math_color.h" diff --git a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c index 4ac3209d5a9..934aeeaf698 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c +++ b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c @@ -24,13 +24,8 @@ #include "BLI_math.h" #include "BLI_bitmap.h" -#include "IMB_imbuf.h" -#include "IMB_imbuf_types.h" -#include "IMB_colormanagement.h" - #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" -#include "DNA_particle_types.h" #include "DNA_brush_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" @@ -44,7 +39,6 @@ #include "BKE_deform.h" #include "BKE_mesh.h" #include "BKE_mesh_iterators.h" -#include "BKE_mesh_mapping.h" #include "BKE_mesh_runtime.h" #include "BKE_modifier.h" #include "BKE_object_deform.h" diff --git a/source/blender/editors/sculpt_paint/paint_vertex_weight_utils.c b/source/blender/editors/sculpt_paint/paint_vertex_weight_utils.c index c71315872f6..28699b45add 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex_weight_utils.c +++ b/source/blender/editors/sculpt_paint/paint_vertex_weight_utils.c @@ -20,16 +20,12 @@ * Intended for use by `paint_vertex.c` & `paint_vertex_weight_ops.c`. */ -#include "MEM_guardedalloc.h" - #include "BLI_listbase.h" #include "BLI_math.h" #include "BLI_string_utils.h" #include "DNA_armature_types.h" #include "DNA_mesh_types.h" -#include "DNA_scene_types.h" -#include "DNA_brush_types.h" #include "DNA_object_types.h" #include "BKE_action.h" diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 5627da1485d..d99ea79a91a 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -69,7 +69,6 @@ #include "BKE_subsurf.h" #include "DEG_depsgraph.h" -#include "DEG_depsgraph_query.h" #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index 3783eb17562..3ba2847a374 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -39,8 +39,6 @@ #include "DNA_scene_types.h" #include "DNA_mesh_types.h" #include "DNA_screen_types.h" -#include "DNA_space_types.h" -#include "DNA_workspace_types.h" #include "BKE_ccg.h" #include "BKE_context.h" @@ -49,7 +47,6 @@ #include "BKE_paint.h" #include "BKE_key.h" #include "BKE_mesh.h" -#include "BKE_mesh_runtime.h" #include "BKE_scene.h" #include "BKE_subsurf.h" #include "BKE_subdiv_ccg.h" @@ -62,13 +59,11 @@ #include "WM_api.h" #include "WM_types.h" -#include "ED_paint.h" #include "ED_object.h" #include "ED_sculpt.h" #include "ED_undo.h" #include "bmesh.h" -#include "paint_intern.h" #include "sculpt_intern.h" typedef struct UndoSculpt { diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c index de03fea7bb1..8fbaf3396bd 100644 --- a/source/blender/editors/sculpt_paint/sculpt_uv.c +++ b/source/blender/editors/sculpt_paint/sculpt_uv.c @@ -38,7 +38,6 @@ #include "BKE_context.h" #include "BKE_customdata.h" #include "BKE_editmesh.h" -#include "BKE_main.h" #include "BKE_mesh_mapping.h" #include "BKE_paint.h" |