[Bf-blender-cvs] [d97c841eb88] master: Fix T65005: Missing "LINES_ADJ" and "TRIS_ADJ" in the GPU Python API.

mano-wii noreply at git.blender.org
Wed May 29 06:06:49 CEST 2019


Commit: d97c841eb88a1d918538fd92c512ed48c8126770
Author: mano-wii
Date:   Wed May 29 00:26:48 2019 -0300
Branches: master
https://developer.blender.org/rBd97c841eb88a1d918538fd92c512ed48c8126770

Fix T65005: Missing "LINES_ADJ" and "TRIS_ADJ" in the GPU Python API.

===================================================================

M	source/blender/python/gpu/gpu_py_api.c

===================================================================

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



More information about the Bf-blender-cvs mailing list