Browse Source

Sort images on LoadImageMask node.

pull/14/head
comfyanonymous 2 years ago
parent
commit
71354c7c57
  1. 2
      nodes.py

2
nodes.py

@ -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"], ),}
}

Loading…
Cancel
Save