From 8e0d907510a20283cf1a3aea554d30ab9afd93c9 Mon Sep 17 00:00:00 2001 From: "Lex Darlog (DRL)" <3897975+Lex-DRL@users.noreply.github.com> Date: Sun, 3 Aug 2025 16:10:15 +0500 Subject: [PATCH] `v1.1.4`: bugfix --- CHANGELOG.md | 4 ++++ node_upscale_by.py | 2 +- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19857ca..f52290e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ - Add options for `crop/pad` node - to determine the order of [crop/pad] -> upscale -> [crop/pad]. - Add node for auto-detecting USDU-padding from initial res. +# v1.1.4 + +- ... and an immediate bugfix. + # v1.1.3 - New node: `Upscale Image By (with Model)` diff --git a/node_upscale_by.py b/node_upscale_by.py index aae43d2..130fc1e 100644 --- a/node_upscale_by.py +++ b/node_upscale_by.py @@ -115,7 +115,7 @@ class ImageUpscaleByWithModel: else: out_image = _ImageUpscaleWithModel_instance.upscale(upscale_model, image)[0] if do_downscale: - out_image = _ImageScaleBy_instance.upscale(out_image, scale_method, second_downscale) + out_image = _ImageScaleBy_instance.upscale(out_image, scale_method, second_downscale)[0] if show_status and unique_id: msg = _status_message(no_model_scale, do_downscale, model_scale, scale, second_downscale) diff --git a/pyproject.toml b/pyproject.toml index c82e789..c6a3d7b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "best-resolution" description = "QoL nodes for semi-automatic calculation of the best (most optimal) sampling resolution \n• compatible with ANY model (from now or the future), \n• accounting for upscale... \n• ...and pixel-step." -version = "1.1.3" +version = "1.1.4" authors = [ {name = "Lex Darlog"} ]