archipack: bugfix draw a wall broken in ortho view
This commit is contained in:
parent
27970761a1
commit
cea8df6783
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue