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
8e14c46a
Unverified
Commit
8e14c46a
authored
Jun 09, 2023
by
Dr.Lt.Data
Committed by
GitHub
Jun 09, 2023
Browse files
allows connect primitive node to reroute if primitive node has type (#751)
Co-authored-by:
Lt.Dr.Data
<
lt.dr.data@gmail.com
>
parent
8b82f79c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
web/extensions/core/widgetInputs.js
web/extensions/core/widgetInputs.js
+1
-0
No files found.
web/extensions/core/widgetInputs.js
View file @
8e14c46a
...
...
@@ -240,6 +240,7 @@ app.registerExtension({
// No widget, we cant connect
if
(
!
input
.
widget
)
{
if
(
this
.
outputs
[
0
]?.
type
!=
'
*
'
&&
target_node
.
type
==
"
Reroute
"
)
return
true
;
if
(
!
(
input
.
type
in
ComfyWidgets
))
return
false
;
}
...
...
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