little fix in custom passepartout

1.4.1

- fix: custom passepartout size limit when dezooming in camera
This commit is contained in:
Pullusb
2021-06-06 21:30:46 +02:00
parent d8f71e3356
commit f10f572bdc
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ def draw_cam_frame_callback_2d():
c = frame_point[2]
d = frame_point[3]
ext = 1000
ext = 10000
rup = extrapolate_points_by_length(b,a, ext)
rdn = extrapolate_points_by_length(a,b, ext)
rupext = rup + ((a-d).normalized() * ext)