screenshots are more configurable now

This commit is contained in:
Zeno Rogue
2018-12-14 19:30:17 +01:00
parent 6274beb6f6
commit c73b598d93
10 changed files with 243 additions and 166 deletions
-1
View File
@@ -722,7 +722,6 @@ bool in_smart_range(const transmatrix& T) {
ld x2 = current_display->radius * abs(h3[0] - h1[0]) / epsilon;
ld y2 = current_display->radius * abs(h3[1] - h1[1]) * vid.stretch / epsilon;
ld scale = sqrt(hypot(x1, y1) * hypot(x2, y2)) * scalefactor * hcrossf7;
if(svg::in) scale /= svg::divby;
return
scale > vid.smart_range_detail &&
x - 2 * max(x1, x2) < current_display->xtop + current_display->xsize &&