diff options
author | Dalai Felinto <dalai@blender.org> | 2020-03-19 11:33:03 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-03-19 11:33:58 +0300 |
commit | 2d1cce8331f3ecdfb8cb0c651e111ffac5dc7153 (patch) | |
tree | ec50d7bdca3901a6afcc986943011f08f9516307 /source/blender/python/intern | |
parent | 008aaaa37841ca27d2bba80d8859336655cef455 (diff) |
Cleanup: `make format` after SortedIncludes change
Diffstat (limited to 'source/blender/python/intern')
31 files changed, 77 insertions, 77 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index 52b35478dd0..5a36535f3e3 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -24,26 +24,26 @@ #include <Python.h> -#include "BLI_utildefines.h" #include "BLI_string.h" +#include "BLI_utildefines.h" #include "BKE_appdir.h" -#include "BKE_global.h" /* XXX, G_MAIN only */ #include "BKE_blender_version.h" #include "BKE_bpath.h" +#include "BKE_global.h" /* XXX, G_MAIN only */ -#include "RNA_types.h" #include "RNA_access.h" +#include "RNA_types.h" #include "bpy.h" -#include "bpy_capi_utils.h" -#include "bpy_rna.h" #include "bpy_app.h" -#include "bpy_rna_id_collection.h" -#include "bpy_rna_gizmo.h" -#include "bpy_props.h" +#include "bpy_capi_utils.h" #include "bpy_library.h" #include "bpy_operator.h" +#include "bpy_props.h" +#include "bpy_rna.h" +#include "bpy_rna_gizmo.h" +#include "bpy_rna_id_collection.h" #include "bpy_utils_previews.h" #include "bpy_utils_units.h" diff --git a/source/blender/python/intern/bpy_app.c b/source/blender/python/intern/bpy_app.c index 9b7842460b5..a9bdef1c3e4 100644 --- a/source/blender/python/intern/bpy_app.c +++ b/source/blender/python/intern/bpy_app.c @@ -27,6 +27,7 @@ #include "bpy_app.h" #include "bpy_app_alembic.h" +#include "bpy_app_build_options.h" #include "bpy_app_ffmpeg.h" #include "bpy_app_ocio.h" #include "bpy_app_oiio.h" @@ -34,7 +35,6 @@ #include "bpy_app_openvdb.h" #include "bpy_app_sdl.h" #include "bpy_app_usd.h" -#include "bpy_app_build_options.h" #include "bpy_app_translations.h" diff --git a/source/blender/python/intern/bpy_app_alembic.c b/source/blender/python/intern/bpy_app_alembic.c index c02bb546553..dc7632baeef 100644 --- a/source/blender/python/intern/bpy_app_alembic.c +++ b/source/blender/python/intern/bpy_app_alembic.c @@ -21,8 +21,8 @@ * \ingroup pythonintern */ -#include <Python.h> #include "BLI_utildefines.h" +#include <Python.h> #include "bpy_app_alembic.h" diff --git a/source/blender/python/intern/bpy_app_ffmpeg.c b/source/blender/python/intern/bpy_app_ffmpeg.c index 7f12f7be7ab..193b0385044 100644 --- a/source/blender/python/intern/bpy_app_ffmpeg.c +++ b/source/blender/python/intern/bpy_app_ffmpeg.c @@ -18,8 +18,8 @@ * \ingroup pythonintern */ -#include <Python.h> #include "BLI_utildefines.h" +#include <Python.h> #include "bpy_app_ffmpeg.h" diff --git a/source/blender/python/intern/bpy_app_handlers.c b/source/blender/python/intern/bpy_app_handlers.c index 01618f0184a..28498e116df 100644 --- a/source/blender/python/intern/bpy_app_handlers.c +++ b/source/blender/python/intern/bpy_app_handlers.c @@ -22,15 +22,15 @@ * functions into (called via blenders generic BLI_cb api) */ -#include <Python.h> #include "BLI_utildefines.h" +#include <Python.h> #include "BKE_callbacks.h" -#include "RNA_types.h" #include "RNA_access.h" -#include "bpy_rna.h" +#include "RNA_types.h" #include "bpy_app_handlers.h" +#include "bpy_rna.h" #include "../generic/python_utildefines.h" diff --git a/source/blender/python/intern/bpy_app_ocio.c b/source/blender/python/intern/bpy_app_ocio.c index 750fe93d1de..bbfc734a77f 100644 --- a/source/blender/python/intern/bpy_app_ocio.c +++ b/source/blender/python/intern/bpy_app_ocio.c @@ -18,8 +18,8 @@ * \ingroup pythonintern */ -#include <Python.h> #include "BLI_utildefines.h" +#include <Python.h> #include "bpy_app_ocio.h" diff --git a/source/blender/python/intern/bpy_app_oiio.c b/source/blender/python/intern/bpy_app_oiio.c index 44ffce2ad07..1f65641606d 100644 --- a/source/blender/python/intern/bpy_app_oiio.c +++ b/source/blender/python/intern/bpy_app_oiio.c @@ -18,8 +18,8 @@ * \ingroup pythonintern */ -#include <Python.h> #include "BLI_utildefines.h" +#include <Python.h> #include "bpy_app_oiio.h" diff --git a/source/blender/python/intern/bpy_app_opensubdiv.c b/source/blender/python/intern/bpy_app_opensubdiv.c index 2b3c2f18e43..3f14c4dca57 100644 --- a/source/blender/python/intern/bpy_app_opensubdiv.c +++ b/source/blender/python/intern/bpy_app_opensubdiv.c @@ -18,8 +18,8 @@ * \ingroup pythonintern */ -#include <Python.h> #include "BLI_utildefines.h" +#include <Python.h> #include "bpy_app_opensubdiv.h" diff --git a/source/blender/python/intern/bpy_app_openvdb.c b/source/blender/python/intern/bpy_app_openvdb.c index 80732b7fecb..9958029dd0a 100644 --- a/source/blender/python/intern/bpy_app_openvdb.c +++ b/source/blender/python/intern/bpy_app_openvdb.c @@ -21,8 +21,8 @@ * \ingroup pythonintern */ -#include <Python.h> #include "BLI_utildefines.h" +#include <Python.h> #include "bpy_app_openvdb.h" diff --git a/source/blender/python/intern/bpy_app_sdl.c b/source/blender/python/intern/bpy_app_sdl.c index 1bc3d07473a..a3f9fdc67c1 100644 --- a/source/blender/python/intern/bpy_app_sdl.c +++ b/source/blender/python/intern/bpy_app_sdl.c @@ -18,8 +18,8 @@ * \ingroup pythonintern */ -#include <Python.h> #include "BLI_utildefines.h" +#include <Python.h> #include "bpy_app_sdl.h" diff --git a/source/blender/python/intern/bpy_app_timers.c b/source/blender/python/intern/bpy_app_timers.c index c3c56e4fb66..f1dd8b9e803 100644 --- a/source/blender/python/intern/bpy_app_timers.c +++ b/source/blender/python/intern/bpy_app_timers.c @@ -18,10 +18,10 @@ * \ingroup pythonintern */ -#include <Python.h> -#include "BLI_utildefines.h" #include "BLI_timer.h" +#include "BLI_utildefines.h" #include "PIL_time.h" +#include <Python.h> #include "BPY_extern.h" #include "bpy_app_timers.h" diff --git a/source/blender/python/intern/bpy_app_translations.c b/source/blender/python/intern/bpy_app_translations.c index 54699663b91..cf4550089ba 100644 --- a/source/blender/python/intern/bpy_app_translations.c +++ b/source/blender/python/intern/bpy_app_translations.c @@ -33,16 +33,16 @@ #include "MEM_guardedalloc.h" -#include "BLT_translation.h" #include "BLT_lang.h" +#include "BLT_translation.h" #include "RNA_types.h" #include "../generic/python_utildefines.h" #ifdef WITH_INTERNATIONAL -# include "BLI_string.h" # include "BLI_ghash.h" +# include "BLI_string.h" #endif typedef struct { diff --git a/source/blender/python/intern/bpy_app_usd.c b/source/blender/python/intern/bpy_app_usd.c index d87d218a5e5..d60264ef259 100644 --- a/source/blender/python/intern/bpy_app_usd.c +++ b/source/blender/python/intern/bpy_app_usd.c @@ -21,8 +21,8 @@ * \ingroup pythonintern */ -#include <Python.h> #include "BLI_utildefines.h" +#include <Python.h> #include "bpy_app_usd.h" diff --git a/source/blender/python/intern/bpy_capi_utils.c b/source/blender/python/intern/bpy_capi_utils.c index 2ff357896d5..f63b77e1726 100644 --- a/source/blender/python/intern/bpy_capi_utils.c +++ b/source/blender/python/intern/bpy_capi_utils.c @@ -23,15 +23,15 @@ #include <Python.h> -#include "BLI_utildefines.h" #include "BLI_dynstr.h" +#include "BLI_utildefines.h" #include "bpy_capi_utils.h" #include "MEM_guardedalloc.h" -#include "BKE_report.h" #include "BKE_context.h" +#include "BKE_report.h" #include "BLT_translation.h" diff --git a/source/blender/python/intern/bpy_gizmo_wrap.c b/source/blender/python/intern/bpy_gizmo_wrap.c index c66cad5f4a3..8ff3af59930 100644 --- a/source/blender/python/intern/bpy_gizmo_wrap.c +++ b/source/blender/python/intern/bpy_gizmo_wrap.c @@ -37,9 +37,9 @@ #include "RNA_define.h" #include "RNA_enum_types.h" -#include "bpy_rna.h" -#include "bpy_intern_string.h" #include "bpy_gizmo_wrap.h" /* own include */ +#include "bpy_intern_string.h" +#include "bpy_rna.h" /* we may want to add, but not now */ diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 1e1a070208c..fdf7e127af9 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -30,22 +30,22 @@ #include "CLG_log.h" -#include "BLI_utildefines.h" -#include "BLI_path_util.h" #include "BLI_fileops.h" #include "BLI_listbase.h" +#include "BLI_path_util.h" #include "BLI_string.h" #include "BLI_string_utf8.h" #include "BLI_threads.h" +#include "BLI_utildefines.h" #include "RNA_types.h" #include "bpy.h" -#include "bpy_rna.h" -#include "bpy_path.h" #include "bpy_capi_utils.h" -#include "bpy_traceback.h" #include "bpy_intern_string.h" +#include "bpy_path.h" +#include "bpy_rna.h" +#include "bpy_traceback.h" #include "bpy_app_translations.h" @@ -66,12 +66,12 @@ #include "../generic/py_capi_utils.h" /* inittab initialization functions */ +#include "../bmesh/bmesh_py_api.h" #include "../generic/bgl.h" #include "../generic/blf_py_api.h" #include "../generic/idprop_py_api.h" #include "../generic/imbuf_py_api.h" #include "../gpu/gpu_py_api.h" -#include "../bmesh/bmesh_py_api.h" #include "../mathutils/mathutils.h" /* Logging types to use anywhere in the Python modules. */ diff --git a/source/blender/python/intern/bpy_interface_atexit.c b/source/blender/python/intern/bpy_interface_atexit.c index 4a43d4e6853..e69914671dd 100644 --- a/source/blender/python/intern/bpy_interface_atexit.c +++ b/source/blender/python/intern/bpy_interface_atexit.c @@ -26,8 +26,8 @@ #include "BLI_utildefines.h" -#include "bpy_capi_utils.h" #include "bpy.h" /* own include */ +#include "bpy_capi_utils.h" #include "WM_api.h" diff --git a/source/blender/python/intern/bpy_library_load.c b/source/blender/python/intern/bpy_library_load.c index 95f0daae862..14a4482f570 100644 --- a/source/blender/python/intern/bpy_library_load.c +++ b/source/blender/python/intern/bpy_library_load.c @@ -28,11 +28,11 @@ #include <Python.h> #include <stddef.h> -#include "BLI_utildefines.h" #include "BLI_ghash.h" -#include "BLI_string.h" #include "BLI_linklist.h" #include "BLI_path_util.h" +#include "BLI_string.h" +#include "BLI_utildefines.h" #include "BKE_context.h" #include "BKE_idcode.h" @@ -54,8 +54,8 @@ #define USE_RNA_DATABLOCKS #ifdef USE_RNA_DATABLOCKS -# include "bpy_rna.h" # include "RNA_access.h" +# include "bpy_rna.h" #endif typedef struct { diff --git a/source/blender/python/intern/bpy_library_write.c b/source/blender/python/intern/bpy_library_write.c index a1894b7f000..6c8f1deb126 100644 --- a/source/blender/python/intern/bpy_library_write.c +++ b/source/blender/python/intern/bpy_library_write.c @@ -26,9 +26,9 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" -#include "BLI_string.h" #include "BLI_path_util.h" +#include "BLI_string.h" +#include "BLI_utildefines.h" #include "BKE_blendfile.h" #include "BKE_global.h" @@ -37,9 +37,9 @@ #include "RNA_types.h" -#include "bpy_rna.h" #include "bpy_capi_utils.h" #include "bpy_library.h" +#include "bpy_rna.h" #include "../generic/py_capi_utils.h" diff --git a/source/blender/python/intern/bpy_msgbus.c b/source/blender/python/intern/bpy_msgbus.c index 3d98a3879a3..c068182fe27 100644 --- a/source/blender/python/intern/bpy_msgbus.c +++ b/source/blender/python/intern/bpy_msgbus.c @@ -21,8 +21,8 @@ #include <Python.h> -#include "../generic/python_utildefines.h" #include "../generic/py_capi_utils.h" +#include "../generic/python_utildefines.h" #include "../mathutils/mathutils.h" #include "BLI_utildefines.h" @@ -30,17 +30,17 @@ #include "BKE_context.h" #include "WM_api.h" -#include "WM_types.h" #include "WM_message.h" +#include "WM_types.h" #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" #include "bpy_capi_utils.h" -#include "bpy_rna.h" -#include "bpy_intern_string.h" #include "bpy_gizmo_wrap.h" /* own include */ +#include "bpy_intern_string.h" +#include "bpy_rna.h" #include "bpy_msgbus.h" /* own include */ diff --git a/source/blender/python/intern/bpy_operator.c b/source/blender/python/intern/bpy_operator.c index 5e3b000c604..4b2b5f129a7 100644 --- a/source/blender/python/intern/bpy_operator.c +++ b/source/blender/python/intern/bpy_operator.c @@ -29,16 +29,16 @@ #include "RNA_types.h" -#include "BLI_utildefines.h" #include "BLI_listbase.h" +#include "BLI_utildefines.h" +#include "../generic/py_capi_utils.h" +#include "../generic/python_utildefines.h" #include "BPY_extern.h" +#include "bpy_capi_utils.h" #include "bpy_operator.h" #include "bpy_operator_wrap.h" #include "bpy_rna.h" /* for setting arg props only - pyrna_py_to_prop() */ -#include "bpy_capi_utils.h" -#include "../generic/py_capi_utils.h" -#include "../generic/python_utildefines.h" #include "RNA_access.h" #include "RNA_enum_types.h" @@ -50,8 +50,8 @@ #include "BLI_ghash.h" -#include "BKE_report.h" #include "BKE_context.h" +#include "BKE_report.h" /* so operators called can spawn threads which acquire the GIL */ #define BPY_RELEASE_GIL diff --git a/source/blender/python/intern/bpy_operator_wrap.c b/source/blender/python/intern/bpy_operator_wrap.c index 2e88a2a5b06..b7d3c99d3da 100644 --- a/source/blender/python/intern/bpy_operator_wrap.c +++ b/source/blender/python/intern/bpy_operator_wrap.c @@ -33,9 +33,9 @@ #include "RNA_access.h" #include "RNA_define.h" -#include "bpy_rna.h" #include "bpy_intern_string.h" #include "bpy_operator_wrap.h" /* own include */ +#include "bpy_rna.h" static void operator_properties_init(wmOperatorType *ot) { diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c index 4fd81a707fb..ade02780210 100644 --- a/source/blender/python/intern/bpy_props.c +++ b/source/blender/python/intern/bpy_props.c @@ -31,9 +31,9 @@ #include "BLI_utildefines.h" +#include "bpy_capi_utils.h" #include "bpy_props.h" #include "bpy_rna.h" -#include "bpy_capi_utils.h" #include "BKE_idprop.h" diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 92230ece35e..8ec62c24c5f 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -26,46 +26,46 @@ #include <Python.h> -#include <stddef.h> #include <float.h> /* FLT_MIN/MAX */ +#include <stddef.h> #include "RNA_types.h" #include "BLI_bitmap.h" #include "BLI_dynstr.h" -#include "BLI_string.h" #include "BLI_listbase.h" #include "BLI_math_rotation.h" +#include "BLI_string.h" #include "BLI_utildefines.h" #include "BPY_extern.h" #include "BPY_extern_clog.h" +#include "bpy_capi_utils.h" +#include "bpy_intern_string.h" +#include "bpy_props.h" #include "bpy_rna.h" #include "bpy_rna_anim.h" -#include "bpy_props.h" -#include "bpy_capi_utils.h" #include "bpy_rna_callback.h" -#include "bpy_intern_string.h" #ifdef USE_PYRNA_INVALIDATE_WEAKREF # include "BLI_ghash.h" #endif -#include "RNA_enum_types.h" -#include "RNA_define.h" /* RNA_def_property_free_identifier */ #include "RNA_access.h" +#include "RNA_define.h" /* RNA_def_property_free_identifier */ +#include "RNA_enum_types.h" #include "CLG_log.h" #include "MEM_guardedalloc.h" -#include "BKE_main.h" -#include "BKE_idcode.h" #include "BKE_context.h" #include "BKE_global.h" /* evil G.* */ -#include "BKE_report.h" +#include "BKE_idcode.h" #include "BKE_idprop.h" +#include "BKE_main.h" +#include "BKE_report.h" /* Only for types. */ #include "BKE_node.h" diff --git a/source/blender/python/intern/bpy_rna_anim.c b/source/blender/python/intern/bpy_rna_anim.c index d41ec59188c..0c640329efa 100644 --- a/source/blender/python/intern/bpy_rna_anim.c +++ b/source/blender/python/intern/bpy_rna_anim.c @@ -25,15 +25,15 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" #include "BLI_string.h" #include "BLI_string_utils.h" +#include "BLI_utildefines.h" -#include "DNA_scene_types.h" #include "DNA_anim_types.h" +#include "DNA_scene_types.h" -#include "ED_keyframing.h" #include "ED_keyframes_edit.h" +#include "ED_keyframing.h" #include "BKE_animsys.h" #include "BKE_context.h" @@ -49,8 +49,8 @@ #include "WM_api.h" #include "WM_types.h" -#include "bpy_rna.h" #include "bpy_capi_utils.h" +#include "bpy_rna.h" #include "bpy_rna_anim.h" #include "../generic/python_utildefines.h" diff --git a/source/blender/python/intern/bpy_rna_callback.c b/source/blender/python/intern/bpy_rna_callback.c index b321a482b1d..cc9f5746bba 100644 --- a/source/blender/python/intern/bpy_rna_callback.c +++ b/source/blender/python/intern/bpy_rna_callback.c @@ -27,12 +27,12 @@ #include "BLI_utildefines.h" +#include "bpy_capi_utils.h" #include "bpy_rna.h" #include "bpy_rna_callback.h" -#include "bpy_capi_utils.h" -#include "DNA_space_types.h" #include "DNA_screen_types.h" +#include "DNA_space_types.h" #include "RNA_access.h" #include "RNA_enum_types.h" diff --git a/source/blender/python/intern/bpy_rna_gizmo.c b/source/blender/python/intern/bpy_rna_gizmo.c index ec041b3054a..aff81c68358 100644 --- a/source/blender/python/intern/bpy_rna_gizmo.c +++ b/source/blender/python/intern/bpy_rna_gizmo.c @@ -25,8 +25,8 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" #include "BLI_alloca.h" +#include "BLI_utildefines.h" #include "WM_api.h" #include "WM_types.h" @@ -38,8 +38,8 @@ #include "../generic/python_utildefines.h" #include "RNA_access.h" -#include "RNA_types.h" #include "RNA_enum_types.h" +#include "RNA_types.h" #include "bpy_rna.h" diff --git a/source/blender/python/intern/bpy_rna_id_collection.c b/source/blender/python/intern/bpy_rna_id_collection.c index 6344ed39b1b..6b6ffa97995 100644 --- a/source/blender/python/intern/bpy_rna_id_collection.c +++ b/source/blender/python/intern/bpy_rna_id_collection.c @@ -25,8 +25,8 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" #include "BLI_bitmap.h" +#include "BLI_utildefines.h" #include "BKE_global.h" #include "BKE_lib_id.h" @@ -36,8 +36,8 @@ #include "DNA_ID.h" /* Those following are only to support hack of not listing some internal * 'backward' pointers in generated user_map. */ -#include "DNA_object_types.h" #include "DNA_key_types.h" +#include "DNA_object_types.h" #include "WM_api.h" #include "WM_types.h" @@ -49,8 +49,8 @@ #include "../generic/python_utildefines.h" #include "RNA_access.h" -#include "RNA_types.h" #include "RNA_enum_types.h" +#include "RNA_types.h" #include "bpy_rna.h" diff --git a/source/blender/python/intern/bpy_traceback.c b/source/blender/python/intern/bpy_traceback.c index 911e91e9e0f..e92a0b788ea 100644 --- a/source/blender/python/intern/bpy_traceback.c +++ b/source/blender/python/intern/bpy_traceback.c @@ -24,8 +24,8 @@ #include <Python.h> #include <frameobject.h> -#include "BLI_utildefines.h" #include "BLI_path_util.h" +#include "BLI_utildefines.h" #ifdef WIN32 # include "BLI_string.h" /* BLI_strcasecmp */ #endif diff --git a/source/blender/python/intern/bpy_utils_previews.c b/source/blender/python/intern/bpy_utils_previews.c index 7423e55d253..81b44dd5c43 100644 --- a/source/blender/python/intern/bpy_utils_previews.c +++ b/source/blender/python/intern/bpy_utils_previews.c @@ -28,12 +28,12 @@ #include "BLI_utildefines.h" -#include "RNA_types.h" #include "RNA_access.h" +#include "RNA_types.h" #include "BPY_extern.h" -#include "bpy_utils_previews.h" #include "bpy_rna.h" +#include "bpy_utils_previews.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/python/intern/bpy_utils_units.c b/source/blender/python/intern/bpy_utils_units.c index fb9a28be430..4433f5d0f88 100644 --- a/source/blender/python/intern/bpy_utils_units.c +++ b/source/blender/python/intern/bpy_utils_units.c @@ -27,8 +27,8 @@ #include <Python.h> #include <structmember.h> -#include "BLI_utildefines.h" #include "BLI_string.h" +#include "BLI_utildefines.h" #include "bpy_utils_units.h" |