Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
71354c7c
Commit
71354c7c
authored
Feb 17, 2023
by
comfyanonymous
Browse files
Sort images on LoadImageMask node.
parent
1688f502
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nodes.py
nodes.py
+1
-1
No files found.
nodes.py
View file @
71354c7c
...
@@ -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"
],
),}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment