From 64ec05b64d106623f63dd308d0950866a22b6229 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 7 Nov 2018 18:00:24 +0100 Subject: Cleanup: remove some useless BKE_library and BKE_main includes. Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please). --- source/blender/editors/mesh/editmesh_add.c | 1 - source/blender/editors/mesh/editmesh_tools.c | 12 ++++++------ source/blender/editors/mesh/mesh_data.c | 4 +--- source/blender/editors/mesh/mesh_mirror.c | 3 +-- source/blender/editors/mesh/meshtools.c | 8 ++++---- 5 files changed, 12 insertions(+), 16 deletions(-) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/editmesh_add.c b/source/blender/editors/mesh/editmesh_add.c index b2f0ecc55c6..ae9b8898eb2 100644 --- a/source/blender/editors/mesh/editmesh_add.c +++ b/source/blender/editors/mesh/editmesh_add.c @@ -38,7 +38,6 @@ #include "BLT_translation.h" #include "BKE_context.h" -#include "BKE_library.h" #include "BKE_editmesh.h" #include "RNA_define.h" diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 6300e7a6b2f..ac600a3ca2d 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -52,17 +52,17 @@ #include "BLI_sort_utils.h" #include "BLI_string.h" -#include "BKE_layer.h" -#include "BKE_material.h" +#include "BKE_editmesh.h" #include "BKE_context.h" #include "BKE_deform.h" -#include "BKE_report.h" -#include "BKE_texture.h" +#include "BKE_key.h" +#include "BKE_layer.h" #include "BKE_library.h" #include "BKE_main.h" +#include "BKE_material.h" #include "BKE_mesh.h" -#include "BKE_editmesh.h" -#include "BKE_key.h" +#include "BKE_report.h" +#include "BKE_texture.h" #include "DEG_depsgraph.h" #include "DEG_depsgraph_build.h" diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index 2a918560ba8..fef4314019f 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -42,12 +42,10 @@ #include "BLI_math.h" #include "BKE_context.h" -#include "BKE_library.h" -#include "BKE_main.h" +#include "BKE_editmesh.h" #include "BKE_mesh.h" #include "BKE_paint.h" #include "BKE_report.h" -#include "BKE_editmesh.h" #include "DEG_depsgraph.h" diff --git a/source/blender/editors/mesh/mesh_mirror.c b/source/blender/editors/mesh/mesh_mirror.c index f37ad9a7439..b9479a660f9 100644 --- a/source/blender/editors/mesh/mesh_mirror.c +++ b/source/blender/editors/mesh/mesh_mirror.c @@ -35,9 +35,8 @@ #include "DNA_meshdata_types.h" #include "DNA_object_types.h" -#include "BLI_kdtree.h" #include "BKE_editmesh.h" -#include "BKE_library.h" +#include "BLI_kdtree.h" #include "BKE_mesh.h" #include "ED_mesh.h" diff --git a/source/blender/editors/mesh/meshtools.c b/source/blender/editors/mesh/meshtools.c index 84f209b5889..32eaa578be1 100644 --- a/source/blender/editors/mesh/meshtools.c +++ b/source/blender/editors/mesh/meshtools.c @@ -50,19 +50,19 @@ #include "BKE_context.h" #include "BKE_deform.h" +#include "BKE_editmesh.h" #include "BKE_key.h" +#include "BKE_layer.h" #include "BKE_library.h" #include "BKE_main.h" +#include "BKE_material.h" #include "BKE_mesh.h" #include "BKE_mesh_iterators.h" #include "BKE_mesh_runtime.h" -#include "BKE_material.h" +#include "BKE_multires.h" #include "BKE_object.h" #include "BKE_object_deform.h" #include "BKE_report.h" -#include "BKE_editmesh.h" -#include "BKE_multires.h" -#include "BKE_layer.h" #include "DEG_depsgraph.h" #include "DEG_depsgraph_build.h" -- cgit v1.2.3