archipack: bugfix draw a wall broken in ortho view

This commit is contained in:
stephen leger 2017-07-25 13:33:03 +02:00
parent 27970761a1
commit cea8df6783
1 changed files with 1 additions and 1 deletions

View File

@ -1928,7 +1928,7 @@ class ARCHIPACK_OT_wall2_draw(ArchpackDrawTool, Operator):
# wait for takeloc being visible when button is over horizon
rv3d = context.region_data
viewinv = rv3d.view_matrix.inverted()
if (takeloc * viewinv).z < 0:
if (takeloc * viewinv).z < 0 or not rv3d.is_perspective:
# print("STARTING")
# when user press draw button
snap_point(takeloc=takeloc,