imbuf, mathutils & readfile: floats were being implicitly promoted to doubles, adjust to use floats.

This commit is contained in:
2011-03-27 17:12:59 +00:00
parent 4237c0393a
commit 9c8f1e2ef4
11 changed files with 141 additions and 141 deletions

View File

@@ -114,7 +114,7 @@ static PyObject *M_Geometry_intersect_ray_tri(PyObject *UNUSED(self), PyObject*
/* if determinant is near zero, ray lies in plane of triangle */
det= dot_v3v3(e1, pvec);
if (det > -0.000001 && det < 0.000001) {
if (det > -0.000001f && det < 0.000001f) {
Py_RETURN_NONE;
}