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:
authormano-wii <germano.costa@ig.com.br>2018-09-27 06:53:45 +0300
committermano-wii <germano.costa@ig.com.br>2018-09-27 06:53:45 +0300
commitda96336e5ffa146cc240d1e9fe3c3d98e41387d1 (patch)
tree2a88996d8bff7d01b05fd9d83f07598c21c2f79e /source/blender/python/gpu/gpu_py_types.c
parent1e647a570d9c42de915bc1204ff21ea5fa4e6b17 (diff)
Python GPU module: Wrap GPUIndexBuf
Differential Revision D3714
Diffstat (limited to 'source/blender/python/gpu/gpu_py_types.c')
-rw-r--r--source/blender/python/gpu/gpu_py_types.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/gpu/gpu_py_types.c b/source/blender/python/gpu/gpu_py_types.c
index 876d56ad761..d9ef0736f8e 100644
--- a/source/blender/python/gpu/gpu_py_types.c
+++ b/source/blender/python/gpu/gpu_py_types.c
@@ -53,6 +53,8 @@ PyObject *BPyInit_gpu_types(void)
return NULL;
if (PyType_Ready(&BPyGPUVertBuf_Type) < 0)
return NULL;
+ if (PyType_Ready(&BPyGPUIndexBuf_Type) < 0)
+ return NULL;
if (PyType_Ready(&BPyGPUBatch_Type) < 0)
return NULL;
if (PyType_Ready(&BPyGPUOffScreen_Type) < 0)
@@ -65,6 +67,7 @@ PyObject *BPyInit_gpu_types(void)
MODULE_TYPE_ADD(submodule, BPyGPUVertFormat_Type);
MODULE_TYPE_ADD(submodule, BPyGPUVertBuf_Type);
+ MODULE_TYPE_ADD(submodule, BPyGPUIndexBuf_Type);
MODULE_TYPE_ADD(submodule, BPyGPUBatch_Type);
MODULE_TYPE_ADD(submodule, BPyGPUOffScreen_Type);
MODULE_TYPE_ADD(submodule, BPyGPUShader_Type);