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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-07 08:41:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-07 09:00:13 +0300
commit409cfba1a3cdec228c7f93aa8c1fbc912a6d6525 (patch)
tree1e861d68d3903e4cda9841a10b9725cc2feb7a76 /source/blender/python/intern/bpy_interface.c
parent0e68751b8a0bac59a275b1fe3d818b8259d1cc7f (diff)
Python API: Initial 'imbuf' API
Support only basic operations new/load/write & resize. Add now so we can extend as needed & more easily accept patches.
Diffstat (limited to 'source/blender/python/intern/bpy_interface.c')
-rw-r--r--source/blender/python/intern/bpy_interface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c
index f806a03f426..aca50c2e15f 100644
--- a/source/blender/python/intern/bpy_interface.c
+++ b/source/blender/python/intern/bpy_interface.c
@@ -74,6 +74,7 @@
#include "../generic/bgl.h"
#include "../generic/blf_py_api.h"
#include "../generic/idprop_py_api.h"
+#include "../generic/imbuf_py_api.h"
#include "../bmesh/bmesh_py_api.h"
#include "../mathutils/mathutils.h"
@@ -219,6 +220,7 @@ static struct _inittab bpy_internal_modules[] = {
{"_bpy_path", BPyInit__bpy_path},
{"bgl", BPyInit_bgl},
{"blf", BPyInit_blf},
+ {"imbuf", BPyInit_imbuf},
{"bmesh", BPyInit_bmesh},
#if 0
{"bmesh.types", BPyInit_bmesh_types},