Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5992abe727 | ||
|
|
d899afff89 | ||
|
|
9235482b2b |
@@ -1 +1,17 @@
|
||||
# WTF? - a debug node for ComfyUI
|
||||
# WTF? - a debug node for ComfyUI
|
||||
|
||||
This node provides a simple way to view the output of many nodes, without leaving ComfyUI.
|
||||
|
||||
### Simple string
|
||||

|
||||
|
||||
### Tensor
|
||||

|
||||
|
||||
### An OUTPUT_IS_LIST node (Rebatched images)
|
||||

|
||||
|
||||
### A list node without OUTPUT_IS_LIST
|
||||

|
||||
|
||||
_"What's that field?"_
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ class WTFDebugNode:
|
||||
info["value"] = str(item) if item != None else None
|
||||
out.append(info)
|
||||
|
||||
return { "ui": { "items": out, "length": len(anything) } }
|
||||
return { "ui": { "items": out, "length": [len(anything)] } }
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"WTFDebugNode": WTFDebugNode,
|
||||
|
||||
+1
-4
@@ -104,10 +104,7 @@ app.registerExtension({
|
||||
}
|
||||
|
||||
requestAnimationFrame(() => {
|
||||
const size = this.computeSize();
|
||||
for (const widget of this.widgets.filter(x => x.element)) {
|
||||
widget.onResize?.(size)
|
||||
}
|
||||
this.onResize?.(this.size)
|
||||
})
|
||||
|
||||
return r
|
||||
|
||||
Reference in New Issue
Block a user