mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-05-10 14:36:07 +00:00
Make 2d area composition nodes work on video models.
This commit is contained in:
parent
6f81cd8973
commit
9af6320ec9
@ -34,6 +34,9 @@ def get_area_and_mult(conds, x_in, timestep_in):
|
|||||||
return None
|
return None
|
||||||
if 'area' in conds:
|
if 'area' in conds:
|
||||||
area = list(conds['area'])
|
area = list(conds['area'])
|
||||||
|
while (len(area) // 2) < len(dims):
|
||||||
|
area = [2147483648] + area[:len(area) // 2] + [0] + area[len(area) // 2:]
|
||||||
|
|
||||||
if 'strength' in conds:
|
if 'strength' in conds:
|
||||||
strength = conds['strength']
|
strength = conds['strength']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user