From fbc779a7bd16a67998baca45b721dbf2ff53db7a Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Mon, 30 Jun 2025 12:03:50 +0300 Subject: [PATCH] Allow negative values in INTConstant --- nodes/nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/nodes.py b/nodes/nodes.py index 5c837d8..4cdcd41 100644 --- a/nodes/nodes.py +++ b/nodes/nodes.py @@ -41,7 +41,7 @@ class INTConstant: @classmethod def INPUT_TYPES(s): return {"required": { - "value": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff}), + "value": ("INT", {"default": 0, "min": -0xffffffffffffffff, "max": 0xffffffffffffffff}), }, } RETURN_TYPES = ("INT",)