mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-03-15 05:57:20 +00:00
Sort images on LoadImageMask node.
This commit is contained in:
parent
1688f5024d
commit
71354c7c57
2
nodes.py
2
nodes.py
@ -670,7 +670,7 @@ class LoadImageMask:
|
|||||||
@classmethod
|
@classmethod
|
||||||
def INPUT_TYPES(s):
|
def INPUT_TYPES(s):
|
||||||
return {"required":
|
return {"required":
|
||||||
{"image": (os.listdir(s.input_dir), ),
|
{"image": (sorted(os.listdir(s.input_dir)), ),
|
||||||
"channel": (["alpha", "red", "green", "blue"], ),}
|
"channel": (["alpha", "red", "green", "blue"], ),}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user