mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-22 04:17:01 +08:00
hotfix links in outputs
This commit is contained in:
parent
5dc815c795
commit
2831e1fb0d
@ -3379,7 +3379,7 @@
|
|||||||
* @param {Object} extra_info this can be used to have special properties of an output (label, special color, position, etc)
|
* @param {Object} extra_info this can be used to have special properties of an output (label, special color, position, etc)
|
||||||
*/
|
*/
|
||||||
LGraphNode.prototype.addOutput = function(name, type, extra_info) {
|
LGraphNode.prototype.addOutput = function(name, type, extra_info) {
|
||||||
var output = { name: name, label: extra_info.label, type: type, link: null };
|
var output = { name: name, label: extra_info.label, type: type, links: null };
|
||||||
if (extra_info) {
|
if (extra_info) {
|
||||||
for (var i in extra_info) {
|
for (var i in extra_info) {
|
||||||
output[i] = extra_info[i];
|
output[i] = extra_info[i];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user