From 3529913629c83c27627d93a186bd5e7638dd839a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 13 Aug 2014 14:34:58 +1000 Subject: Math Lib: name signed versions of dist_to_plane_v3 explicitly also add unsigned versions --- 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 20d69caf02d..2e2e03355c4 100644 --- a/source/blender/python/mathutils/mathutils_geometry.c +++ b/source/blender/python/mathutils/mathutils_geometry.c @@ -1082,7 +1082,7 @@ static PyObject *M_Geometry_distance_point_to_plane(PyObject *UNUSED(self), PyOb } plane_from_point_normal_v3(plane, plane_co->vec, plane_no->vec); - return PyFloat_FromDouble(dist_to_plane_v3(pt->vec, plane)); + return PyFloat_FromDouble(dist_signed_to_plane_v3(pt->vec, plane)); } PyDoc_STRVAR(M_Geometry_barycentric_transform_doc, -- cgit v1.2.3