Cleanup: Move several blenkernel headers to C++
Mostly focus on areas where we're already using C++ features, where combining C and C++ APIs is getting in the way. Pull Request: https://projects.blender.org/blender/blender/pulls/114972
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "bmesh_py_ops.h"
|
||||
#include "bmesh_py_utils.h"
|
||||
|
||||
#include "BKE_editmesh.h"
|
||||
#include "BKE_editmesh.hh"
|
||||
|
||||
#include "DNA_mesh_types.h"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
||||
#include "BKE_customdata.h"
|
||||
#include "BKE_customdata.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_mesh.hh"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "../generic/python_utildefines.h"
|
||||
#include "../mathutils/mathutils.h"
|
||||
|
||||
#include "BKE_customdata.h"
|
||||
#include "BKE_customdata.hh"
|
||||
|
||||
#include "DNA_meshdata_types.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
||||
#include "BKE_customdata.h"
|
||||
#include "BKE_customdata.hh"
|
||||
|
||||
#include "BLI_math_base.h"
|
||||
#include "BLI_math_color.h"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_report.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "DNA_text_types.h"
|
||||
|
||||
#include "BKE_appdir.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_global.h" /* Only for script checking. */
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_text.h"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "BLI_path_util.h"
|
||||
#include "BLI_string.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_report.h"
|
||||
#include "BKE_text.h"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_blendfile_link_append.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_main.h"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
|
||||
#include "WM_api.hh"
|
||||
#include "WM_message.hh"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_report.h"
|
||||
|
||||
/* so operators called can spawn threads which acquire the GIL */
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_global.h" /* evil G.* */
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
|
||||
#include "WM_api.hh"
|
||||
#include "WM_types.hh"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
#include "BLI_string.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_context.hh"
|
||||
|
||||
#include "../generic/python_utildefines.h"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "BLI_polyfill_2d.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_bvhutils.h"
|
||||
#include "BKE_bvhutils.hh"
|
||||
|
||||
#include "../generic/py_capi_utils.h"
|
||||
#include "../generic/python_utildefines.h"
|
||||
@@ -35,7 +35,7 @@
|
||||
# include "DNA_meshdata_types.h"
|
||||
# include "DNA_object_types.h"
|
||||
|
||||
# include "BKE_customdata.h"
|
||||
# include "BKE_customdata.hh"
|
||||
# include "BKE_editmesh_bvh.h"
|
||||
# include "BKE_lib_id.h"
|
||||
# include "BKE_mesh.hh"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
/* Used for PolyFill */
|
||||
#ifndef MATH_STANDALONE /* define when building outside blender */
|
||||
# include "BKE_curve.h"
|
||||
# include "BKE_curve.hh"
|
||||
# include "BKE_displist.h"
|
||||
# include "BLI_blenlib.h"
|
||||
# include "BLI_boxpack_2d.h"
|
||||
|
||||
Reference in New Issue
Block a user