Fix INT output type in Mask Generator for display node compatibility
Some checks failed
Publish to Comfy Registry / Publish Custom Node to registry (push) Has been cancelled
Some checks failed
Publish to Comfy Registry / Publish Custom Node to registry (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2
nodes.py
2
nodes.py
@@ -17,7 +17,7 @@ VACE_MODES = [
|
|||||||
|
|
||||||
def _snap_4n1(n):
|
def _snap_4n1(n):
|
||||||
"""Round up to nearest 4n+1 value (1, 5, 9, 13, ..., 77, 81, ...)."""
|
"""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"):
|
def _create_solid_batch(count, height, width, color_value, device="cpu"):
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "comfyui-vace-tools"
|
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."
|
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" }
|
license = { file = "LICENSE" }
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
|
|||||||
Reference in New Issue
Block a user