[Bf-blender-cvs] [e5bf726f44e] blender2.8: BGL: Remove deprecated enums

Dalai Felinto noreply at git.blender.org
Tue Apr 18 16:02:24 CEST 2017


Commit: e5bf726f44e7907ef932c78edd1322c7e5597c6e
Author: Dalai Felinto
Date:   Tue Apr 18 15:45:47 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBe5bf726f44e7907ef932c78edd1322c7e5597c6e

BGL: Remove deprecated enums

Note: The enums that are deprecated and supported are still there

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

M	source/blender/python/generic/bgl.c

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

diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c
index 63fc00f0a43..ed4726e2ab7 100644
--- a/source/blender/python/generic/bgl.c
+++ b/source/blender/python/generic/bgl.c
@@ -1717,8 +1717,6 @@ PyObject *BPyInit_bgl(void)
 		PY_DICT_ADD_INT(GL_POINT);
 		PY_DICT_ADD_INT(GL_POINTS);
 		PY_DICT_ADD_INT(GL_POINT_SIZE);
-		PY_DICT_ADD_INT(GL_POINT_SIZE_GRANULARITY);
-		PY_DICT_ADD_INT(GL_POINT_SIZE_RANGE);
 		PY_DICT_ADD_INT(GL_POLYGON_MODE);
 		PY_DICT_ADD_INT(GL_POLYGON_OFFSET_FACTOR);
 		PY_DICT_ADD_INT(GL_POLYGON_OFFSET_FILL);
@@ -1962,7 +1960,6 @@ PyObject *BPyInit_bgl(void)
 		PY_DICT_ADD_INT(GL_READ_ONLY);
 		PY_DICT_ADD_INT(GL_READ_WRITE);
 		PY_DICT_ADD_INT(GL_SAMPLES_PASSED);
-		PY_DICT_ADD_INT(GL_SRC1_ALPHA);
 		PY_DICT_ADD_INT(GL_STATIC_COPY);
 		PY_DICT_ADD_INT(GL_STATIC_DRAW);
 		PY_DICT_ADD_INT(GL_STATIC_READ);




More information about the Bf-blender-cvs mailing list