Allow negative values in INTConstant

This commit is contained in:
kijai 2025-06-30 12:03:50 +03:00
parent f7eb33abc8
commit fbc779a7bd

View File

@ -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",)