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.
This commit is contained in:
2012-03-13 01:11:08 +00:00
parent b457c7fdbd
commit 8646bb4464
5 changed files with 33 additions and 4 deletions

View File

@@ -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) {