Commit 71354c7c authored by comfyanonymous's avatar comfyanonymous
Browse files

Sort images on LoadImageMask node.

parent 1688f502
...@@ -670,7 +670,7 @@ class LoadImageMask: ...@@ -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"], ),}
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment