From 8646bb446419592f8acc8ed0cdf8337bfc4a07eb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 13 Mar 2012 01:11:08 +0000 Subject: workaround [#30480] Knife tool flicker the problem was numeric precision when in ortho mode the start/end points for the view vector would be 2000 apart which caused trouble for the intersection test. --- source/blender/python/mathutils/mathutils_Quaternion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/mathutils') diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c index b3767d2b8bb..96beccea5d3 100644 --- a/source/blender/python/mathutils/mathutils_Quaternion.c +++ b/source/blender/python/mathutils/mathutils_Quaternion.c @@ -1101,7 +1101,7 @@ static PyObject *quat__apply_to_copy(PyNoArgsFunction quat_func, QuaternionObjec } } -/* axis vector suffers from precission errors, use this function to ensure */ +/* axis vector suffers from precision errors, use this function to ensure */ static void quat__axis_angle_sanitize(float axis[3], float *angle) { if (axis) { -- cgit v1.2.3