Cleanup: order BLI before BKE headers
authorCampbell Barton <ideasman42@gmail.com>
Tue, 14 Nov 2017 06:23:40 +0000 (17:23 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 14 Nov 2017 06:23:40 +0000 (17:23 +1100)
This was done nearly everywhere already

source/blender/blenkernel/intern/bmfont.c
source/blender/blenkernel/intern/freestyle.c
source/blender/blenkernel/intern/outliner_treehash.c
source/blender/editors/animation/anim_channels_edit.c
source/blender/editors/sculpt_paint/paint_curve.c
source/blender/makesrna/intern/rna_cachefile.c
source/blender/makesrna/intern/rna_mask.c
source/blender/makesrna/intern/rna_sculpt_paint.c
source/blender/makesrna/intern/rna_smoke.c
source/blender/python/intern/bpy_rna_array.c
source/blender/render/intern/source/render_result.c

index 79b3f89da200f3f75678ed49b14e820e3810e2c6..8018629ef2a3983c431cff1db642aed8438d26c8 100644 (file)
 #include "MEM_guardedalloc.h"
 #include "IMB_imbuf_types.h"
 
-#include "BKE_bmfont.h"
-#include "BKE_bmfont_types.h"
-
 #include "BLI_utildefines.h"
 
+#include "BKE_bmfont.h"
+#include "BKE_bmfont_types.h"
 #include "BKE_global.h"
 
 void printfGlyph(bmGlyph *glyph)
index e45a938a4fc8183e129f4736cc7749270d525e57..686fe3bda9343682725e694b8b2abeb0c3ca79fd 100644 (file)
 #include "DNA_freestyle_types.h"
 #include "DNA_group_types.h"
 
-#include "BKE_freestyle.h"
-#include "BKE_library.h"
-#include "BKE_linestyle.h"
-
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
 #include "BLI_string_utils.h"
 
+#include "BKE_freestyle.h"
+#include "BKE_library.h"
+#include "BKE_linestyle.h"
+
 // function declarations
 static FreestyleLineSet *alloc_lineset(void);
 static void copy_lineset(FreestyleLineSet *new_lineset, FreestyleLineSet *lineset, const int flag);
index f31ba34a984431514038bee828e154fd7fa1c1d7..4d97121e2a3f024c5836c89df371bc837cd86fbc 100644 (file)
 
 #include <stdlib.h>
 
-#include "BKE_outliner_treehash.h"
-
 #include "BLI_utildefines.h"
 #include "BLI_ghash.h"
 #include "BLI_mempool.h"
 
 #include "DNA_outliner_types.h"
 
+#include "BKE_outliner_treehash.h"
+
 #include "MEM_guardedalloc.h"
 
 typedef struct TseGroup {
index 25f1e206be596e2d92c7e278d58109c30b5224aa..82f24c91df106c031508f670d754e4d556543504 100644 (file)
 
 #include "MEM_guardedalloc.h"
 
-#include "BKE_depsgraph.h"
 #include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
 #include "BLI_listbase.h"
-#include "BKE_library.h"
 
 #include "DNA_anim_types.h"
 #include "DNA_object_types.h"
 
 #include "BKE_animsys.h"
 #include "BKE_action.h"
+#include "BKE_depsgraph.h"
 #include "BKE_fcurve.h"
 #include "BKE_gpencil.h"
 #include "BKE_context.h"
 #include "BKE_mask.h"
 #include "BKE_global.h"
+#include "BKE_library.h"
 
 #include "UI_view2d.h"
 
index 0ee78d61fb8181fcae21b850638d044fcce7a377..337f7a1ef2b2898601c6ef39dd9294028ca0b296 100644 (file)
 #include "DNA_space_types.h"
 #include "DNA_view3d_types.h"
 
+#include "BLI_math_vector.h"
+#include "BLI_string.h"
+
 #include "BKE_context.h"
 #include "BKE_main.h"
 #include "BKE_paint.h"
 
-#include "BLI_math_vector.h"
-#include "BLI_string.h"
-
 #include "ED_paint.h"
 #include "ED_view3d.h"
 
index 81b0c539e3389b880fd05545c30097ec8280073f..73928d377f1bd126c6480adce16f05e636abb3d2 100644 (file)
 
 #ifdef RNA_RUNTIME
 
+#include "BLI_string.h"
+
 #include "BKE_cachefile.h"
 #include "BKE_depsgraph.h"
 
-#include "BLI_string.h"
-
 #include "DEG_depsgraph.h"
 
 #include "WM_api.h"
index f4f4685d1bf7cf1b80c42541c9395cc33ac53af5..c266e0e7f31888b6f7813a3763f9edc3acedbdd7 100644 (file)
 
 #ifdef RNA_RUNTIME
 
+#include "BLI_math.h"
+
 #include "DNA_movieclip_types.h"
 
 #include "BKE_depsgraph.h"
 #include "BKE_mask.h"
 
-#include "BLI_math.h"
-
 #include "RNA_access.h"
 
 #include "WM_api.h"
index 28bd0f1b07fa2d87861584036a39eba473a3174b..9da27233e0e1df675eb8504d72e8c2f8093f4289 100644 (file)
@@ -27,6 +27,8 @@
 
 #include <stdlib.h>
 
+#include "BLI_utildefines.h"
+
 #include "RNA_define.h"
 #include "RNA_enum_types.h"
 
@@ -46,7 +48,6 @@
 #include "WM_api.h"
 #include "WM_types.h"
 
-#include "BLI_utildefines.h"
 #include "bmesh.h"
 
 static const EnumPropertyItem particle_edit_hair_brush_items[] = {
index 8e54c708c05cbe48f05e2b8b040ca6c1d7a8f4b5..77d7f7833c6fb21800e62f154d785ce18a3c958a 100644 (file)
@@ -29,6 +29,9 @@
 #include <stdlib.h>
 #include <limits.h>
 
+#include "BLI_sys_types.h"
+#include "BLI_threads.h"
+
 #include "RNA_define.h"
 #include "RNA_enum_types.h"
 
@@ -38,8 +41,6 @@
 #include "BKE_smoke.h"
 #include "BKE_pointcache.h"
 
-#include "BLI_threads.h"
-
 #include "DNA_modifier_types.h"
 #include "DNA_object_force.h"
 #include "DNA_object_types.h"
index 3e147d29c9027159e241777951f6a4b1b9a8098e..e0ca363426175cb17f134e789a3caf6466bb0290 100644 (file)
 
 #include <Python.h>
 
+#include "BLI_utildefines.h"
+
 #include "RNA_types.h"
 
 #include "bpy_rna.h"
 #include "BKE_global.h"
-#include "MEM_guardedalloc.h"
 
-#include "BLI_utildefines.h"
+#include "MEM_guardedalloc.h"
 
 #include "RNA_access.h"
 
index 631503bdad5c3911105818ffe255fe87f52eeec6..9ad5d73fc555cfd41f647959b61accd5031e8a9e 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "MEM_guardedalloc.h"
 
-#include "BKE_appdir.h"
 #include "BLI_utildefines.h"
 #include "BLI_listbase.h"
 #include "BLI_hash_md5.h"
@@ -45,6 +44,7 @@
 #include "BLI_string.h"
 #include "BLI_threads.h"
 
+#include "BKE_appdir.h"
 #include "BKE_image.h"
 #include "BKE_global.h"
 #include "BKE_main.h"