diff --git a/nodes.py b/nodes.py index 6ad6b33..17f7ce9 100644 --- a/nodes.py +++ b/nodes.py @@ -17,7 +17,7 @@ VACE_MODES = [ def _snap_4n1(n): """Round up to nearest 4n+1 value (1, 5, 9, 13, ..., 77, 81, ...).""" - return ((n + 2) // 4) * 4 + 1 + return int(((n + 2) // 4) * 4 + 1) def _create_solid_batch(count, height, width, color_value, device="cpu"): diff --git a/pyproject.toml b/pyproject.toml index a9e6bf5..2322b7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "comfyui-vace-tools" -version = "1.1.0" +version = "1.1.1" description = "Mask and control-frame generation nodes for WanVideo/VACE workflows — supports 10 generation modes, source trimming, and merge-back with optical flow blending." license = { file = "LICENSE" } requires-python = ">=3.10"