correct spelling error and some pep8 changes.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user