diff options
author | mano-wii <germano.costa@ig.com.br> | 2018-09-27 06:53:45 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2018-09-27 06:53:45 +0300 |
commit | da96336e5ffa146cc240d1e9fe3c3d98e41387d1 (patch) | |
tree | 2a88996d8bff7d01b05fd9d83f07598c21c2f79e /source/blender/python/gpu/gpu_py_types.c | |
parent | 1e647a570d9c42de915bc1204ff21ea5fa4e6b17 (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.c | 3 |
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); |