From c7dd24d12deb484cfc8fefbd7a4a94214f58bfdc Mon Sep 17 00:00:00 2001 From: Maxed-Out-99 Date: Tue, 15 Jul 2025 19:32:53 -0700 Subject: [PATCH] Set default value for vertical parameter Added a default value of False to the 'vertical' boolean parameter in both FluxEmptyLatentImage and SdxlEmptyLatentImage classes to ensure consistent default behavior. --- maxedoutnodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maxedoutnodes.py b/maxedoutnodes.py index 9f2bbc5..7bb6a51 100644 --- a/maxedoutnodes.py +++ b/maxedoutnodes.py @@ -51,7 +51,7 @@ class FluxEmptyLatentImage: list(cls.RESOLUTIONS.keys()), {"default": "Square (1:1) 1024x1024"} ), - "vertical": ("BOOLEAN",), + "vertical": ("BOOLEAN", {"default": False}), "batch_size": ( "INT", { @@ -115,7 +115,7 @@ class SdxlEmptyLatentImage: # Dropdown selection for one of the predefined SDXL resolutions. "resolution": (list(cls.RESOLUTIONS.keys()),), # Toggle for vertical mode (swaps width and height). - "vertical": ("BOOLEAN",), + "vertical": ("BOOLEAN", {"default": False}), # Number of latent images to create in the batch. "batch_size": ( "INT",