Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/generic/idprop_py_api.c1
-rw-r--r--source/blender/python/gpu/gpu_py_batch.c1
-rw-r--r--source/blender/python/gpu/gpu_py_offscreen.c1
-rw-r--r--source/blender/python/intern/bpy_app_translations.c7
-rw-r--r--source/blender/python/intern/bpy_driver.c1
-rw-r--r--source/blender/python/intern/bpy_operator.c1
-rw-r--r--source/blender/python/intern/bpy_rna_array.c1
-rw-r--r--source/blender/python/intern/bpy_rna_callback.c1
-rw-r--r--source/blender/python/intern/bpy_rna_gizmo.c1
9 files changed, 5 insertions, 10 deletions
diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c
index d6e4a3ac291..76cc8bf7c6b 100644
--- a/source/blender/python/generic/idprop_py_api.c
+++ b/source/blender/python/generic/idprop_py_api.c
@@ -30,7 +30,6 @@
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
-#include "BLI_string.h"
#include "idprop_py_api.h"
diff --git a/source/blender/python/gpu/gpu_py_batch.c b/source/blender/python/gpu/gpu_py_batch.c
index a50ea32b5dd..e59f8f30ff0 100644
--- a/source/blender/python/gpu/gpu_py_batch.c
+++ b/source/blender/python/gpu/gpu_py_batch.c
@@ -36,7 +36,6 @@
#include "BLI_utildefines.h"
-#include "BKE_global.h"
#include "GPU_batch.h"
diff --git a/source/blender/python/gpu/gpu_py_offscreen.c b/source/blender/python/gpu/gpu_py_offscreen.c
index 5dc6e36ca56..3438f953ea0 100644
--- a/source/blender/python/gpu/gpu_py_offscreen.c
+++ b/source/blender/python/gpu/gpu_py_offscreen.c
@@ -36,7 +36,6 @@
#include "BLI_utildefines.h"
-#include "BKE_global.h"
#include "BKE_library.h"
#include "BKE_scene.h"
diff --git a/source/blender/python/intern/bpy_app_translations.c b/source/blender/python/intern/bpy_app_translations.c
index acb44f86f75..0f5f72328be 100644
--- a/source/blender/python/intern/bpy_app_translations.c
+++ b/source/blender/python/intern/bpy_app_translations.c
@@ -33,8 +33,6 @@
#include <structmember.h>
#include "BLI_utildefines.h"
-#include "BLI_string.h"
-#include "BLI_ghash.h"
#include "BPY_extern.h"
#include "bpy_app_translations.h"
@@ -48,6 +46,11 @@
#include "../generic/python_utildefines.h"
+#ifdef WITH_INTERNATIONAL
+# include "BLI_string.h"
+# include "BLI_ghash.h"
+#endif
+
typedef struct {
PyObject_HEAD
/* The string used to separate context from actual message in PY_TRANSLATE RNA props. */
diff --git a/source/blender/python/intern/bpy_driver.c b/source/blender/python/intern/bpy_driver.c
index f098a28d679..cd6a06556cf 100644
--- a/source/blender/python/intern/bpy_driver.c
+++ b/source/blender/python/intern/bpy_driver.c
@@ -37,7 +37,6 @@
#include "BLI_listbase.h"
#include "BLI_math_base.h"
-#include "BLI_string.h"
#include "BKE_fcurve.h"
#include "BKE_global.h"
diff --git a/source/blender/python/intern/bpy_operator.c b/source/blender/python/intern/bpy_operator.c
index 56db0a604aa..5637c081435 100644
--- a/source/blender/python/intern/bpy_operator.c
+++ b/source/blender/python/intern/bpy_operator.c
@@ -37,7 +37,6 @@
#include "BLI_utildefines.h"
#include "BLI_listbase.h"
-#include "BLI_string.h"
#include "BPY_extern.h"
#include "bpy_operator.h"
diff --git a/source/blender/python/intern/bpy_rna_array.c b/source/blender/python/intern/bpy_rna_array.c
index 9a184df8054..a93f75f87d4 100644
--- a/source/blender/python/intern/bpy_rna_array.c
+++ b/source/blender/python/intern/bpy_rna_array.c
@@ -35,7 +35,6 @@
#include "RNA_types.h"
#include "bpy_rna.h"
-#include "BKE_global.h"
#include "MEM_guardedalloc.h"
diff --git a/source/blender/python/intern/bpy_rna_callback.c b/source/blender/python/intern/bpy_rna_callback.c
index ed29aa795e6..450d39e84ed 100644
--- a/source/blender/python/intern/bpy_rna_callback.c
+++ b/source/blender/python/intern/bpy_rna_callback.c
@@ -33,7 +33,6 @@
#include "RNA_types.h"
#include "BLI_utildefines.h"
-#include "BLI_listbase.h"
#include "bpy_rna.h"
#include "bpy_rna_callback.h"
diff --git a/source/blender/python/intern/bpy_rna_gizmo.c b/source/blender/python/intern/bpy_rna_gizmo.c
index 8189431dfc9..b7db459279b 100644
--- a/source/blender/python/intern/bpy_rna_gizmo.c
+++ b/source/blender/python/intern/bpy_rna_gizmo.c
@@ -32,7 +32,6 @@
#include "BLI_utildefines.h"
#include "BLI_alloca.h"
-#include "BKE_main.h"
#include "WM_api.h"
#include "WM_types.h"