diff options
Diffstat (limited to 'mesh_snap_utilities_line/common_utilities.py')
-rw-r--r-- | mesh_snap_utilities_line/common_utilities.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesh_snap_utilities_line/common_utilities.py b/mesh_snap_utilities_line/common_utilities.py index c62968d5..5a11a4c4 100644 --- a/mesh_snap_utilities_line/common_utilities.py +++ b/mesh_snap_utilities_line/common_utilities.py @@ -80,8 +80,7 @@ def location_3d_to_region_2d(region, rv3d, coord): width_half = region.width / 2.0 height_half = region.height / 2.0 return Vector((width_half + width_half * (prj.x / prj.w), - height_half + height_half * (prj.y / prj.w), - prj.z / prj.w + height_half + height_half * (prj.y / prj.w) )) |