correct spelling error and some pep8 changes.

This commit is contained in:
2011-05-26 09:33:51 +00:00
parent ea19f15400
commit 26252bb315
10 changed files with 31 additions and 34 deletions

View File

@@ -45,7 +45,7 @@ def region_2d_to_vector_3d(region, rv3d, coord):
))
w = (out[0] * persinv[0][3]) + (out[1] * persinv[1][3]) + (out[2] * persinv[2][3]) + persinv[3][3]
return ((out * persinv) / w) - rv3d.view_matrix.inverted()[3].xyz
else:
return rv3d.view_matrix.inverted()[2].xyz.normalized()