diff options
author | mattoverby <mattoverby@gmail.com> | 2020-08-28 23:00:01 +0300 |
---|---|---|
committer | mattoverby <mattoverby@gmail.com> | 2020-08-28 23:00:01 +0300 |
commit | 44819c69a4e702b224c4ba166def9e212bee6d92 (patch) | |
tree | 45f0349bd9ad29892d14b0f63d496b309cd32ed8 /source/blender/python/mathutils/mathutils_Color.c | |
parent | 6c32148cd2ea90cde4d4e46beb5ad4969b044c49 (diff) | |
parent | 019cd2e56b377a35b1fa2c85aebe60fb8c495335 (diff) |
fixed submodulessoc-2020-soft-body
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Color.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Color.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils_Color.c b/source/blender/python/mathutils/mathutils_Color.c index 6bffff467cd..8a7f782de3c 100644 --- a/source/blender/python/mathutils/mathutils_Color.c +++ b/source/blender/python/mathutils/mathutils_Color.c @@ -749,7 +749,7 @@ PyDoc_STRVAR(Color_channel_hsv_v_doc, "HSV Value component in [0, 1].\n\n:type: static PyObject *Color_channel_hsv_get(ColorObject *self, void *type) { float hsv[3]; - int i = POINTER_AS_INT(type); + const int i = POINTER_AS_INT(type); if (BaseMath_ReadCallback(self) == -1) { return NULL; @@ -763,7 +763,7 @@ static PyObject *Color_channel_hsv_get(ColorObject *self, void *type) static int Color_channel_hsv_set(ColorObject *self, PyObject *value, void *type) { float hsv[3]; - int i = POINTER_AS_INT(type); + const int i = POINTER_AS_INT(type); float f = PyFloat_AsDouble(value); if (f == -1 && PyErr_Occurred()) { |