Sort images on LoadImageMask node.

This commit is contained in:
comfyanonymous 2023-02-17 12:53:05 -05:00
parent 1688f5024d
commit 71354c7c57
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ class LoadImageMask:
@classmethod
def INPUT_TYPES(s):
return {"required":
{"image": (os.listdir(s.input_dir), ),
{"image": (sorted(os.listdir(s.input_dir)), ),
"channel": (["alpha", "red", "green", "blue"], ),}
}