prevent sd logging when in quiet mode (+1 squashed commits)

Squashed commits:

[a4a1cdd5] fixed type conversion
This commit is contained in:
Concedo
2024-03-09 16:20:20 +08:00
parent 4682918965
commit ca19199bc8
4 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -540,8 +540,8 @@ def sd_generate(genparams):
biggest = max(width,height)
if biggest > reslimit:
scaler = biggest / reslimit
width = width / scaler
height = height / scaler
width = int(width / scaler)
height = int(height / scaler)
width = width - (width%64)
height = height - (height%64)