From e73d0f57a32f309433c005c06d6da2048f274c04 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 Apr 2014 00:21:23 +1000 Subject: Code cleanup: use 'const' for arrays (python) --- source/blender/python/mathutils/mathutils_geometry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/mathutils/mathutils_geometry.c') diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c index 142e5cadfd1..139764abb00 100644 --- a/source/blender/python/mathutils/mathutils_geometry.c +++ b/source/blender/python/mathutils/mathutils_geometry.c @@ -269,7 +269,7 @@ static PyObject *M_Geometry_intersect_sphere_sphere_2d(PyObject *UNUSED(self), P { PyObject *ret; VectorObject *vec_a, *vec_b; - float *v_a, *v_b; + const float *v_a, *v_b; float rad_a, rad_b; float v_ab[2]; float dist; -- cgit v1.2.3