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>2019-05-29 06:26:48 +0300
committermano-wii <germano.costa@ig.com.br>2019-05-29 06:28:14 +0300
commitd97c841eb88a1d918538fd92c512ed48c8126770 (patch)
tree9b66b466e2797fc0f858ae22f9d8d525d20f5c1b /source/blender/python/gpu/gpu_py_api.c
parente0879517025f0e9520d5a01f71950635f7aba7a5 (diff)
Fix T65005: Missing "LINES_ADJ" and "TRIS_ADJ" in the GPU Python API.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_api.c')
-rw-r--r--source/blender/python/gpu/gpu_py_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/gpu/gpu_py_api.c b/source/blender/python/gpu/gpu_py_api.c
index bce9563a293..1379c0e557a 100644
--- a/source/blender/python/gpu/gpu_py_api.c
+++ b/source/blender/python/gpu/gpu_py_api.c
@@ -86,6 +86,8 @@ int bpygpu_ParsePrimType(PyObject *o, void *p)
MATCH_ID(LINE_LOOP);
MATCH_ID(TRI_STRIP);
MATCH_ID(TRI_FAN);
+ MATCH_ID(LINES_ADJ);
+ MATCH_ID(TRIS_ADJ);
MATCH_ID(LINE_STRIP_ADJ);
#undef MATCH_ID