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:
authorGermano Cavalcantemano-wii <germano.costa@ig.com.br>2021-01-11 03:05:17 +0300
committerGermano Cavalcantemano-wii <germano.costa@ig.com.br>2021-01-11 03:07:04 +0300
commitaf88d23ffaab650f050886afc7595a8f6bff08b8 (patch)
tree92ad61d638000bd18d816438c7ae2a8a981eae2f /source/blender/python/generic
parentd4330ae70be6a924d40ae7efccb988d51109c5c4 (diff)
Revert "Fix typo; Documentation; Expose layer for framebuffer attachament; Add framebuffer viewport setter; Remove framebuffer restore; Expose framebuffer push/pop stack API; Remove blend modes; Remove depth_range_set; Implement GPU_face_culling, GPU_front_facing, GPU_point_size, GPU_line_width, GPU_viewport, GPU_color_mask and GPU_depth_mask"
This reverts commit 9db3d1951da15254efbbcf028176facb78118ec1. This was an accidental commit of the patch D8826
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r--source/blender/python/generic/py_capi_utils.c10
-rw-r--r--source/blender/python/generic/py_capi_utils.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
index 24793a08ba9..d944cb435d0 100644
--- a/source/blender/python/generic/py_capi_utils.c
+++ b/source/blender/python/generic/py_capi_utils.c
@@ -282,16 +282,6 @@ int PyC_ParseStringEnum(PyObject *o, void *p)
return 0;
}
-const char *PyC_StringEnum_find_id(struct PyC_StringEnum *e, const int value)
-{
- for (int i = 0; e->items[i].id; i++) {
- if (e->items[i].value == value) {
- return e->items[i].id;
- }
- }
- return NULL;
-}
-
/* silly function, we dont use arg. just check its compatible with __deepcopy__ */
int PyC_CheckArgs_DeepCopy(PyObject *args)
{
diff --git a/source/blender/python/generic/py_capi_utils.h b/source/blender/python/generic/py_capi_utils.h
index 6f41f9229c8..f0875b82c3c 100644
--- a/source/blender/python/generic/py_capi_utils.h
+++ b/source/blender/python/generic/py_capi_utils.h
@@ -142,7 +142,6 @@ struct PyC_StringEnum {
};
int PyC_ParseStringEnum(PyObject *o, void *p);
-const char *PyC_StringEnum_find_id(struct PyC_StringEnum *e, const int value);
int PyC_CheckArgs_DeepCopy(PyObject *args);