diff --git a/src/nodes/image.js b/src/nodes/image.js index 659776e3c..860cb2037 100755 --- a/src/nodes/image.js +++ b/src/nodes/image.js @@ -313,7 +313,7 @@ LiteGraph.registerNodeType("visualization/graph", { function ImageFade() { this.addInputs([["img1","image"],["img2","image"],["fade","number"]]); - this.addInput("","image"); + this.addOutput("","image"); this.properties = {fade:0.5,width:512,height:512}; } @@ -714,4 +714,4 @@ ImageWebcam.prototype.onDrawBackground = function(ctx) LiteGraph.registerNodeType("graphics/webcam", ImageWebcam ); -})(); \ No newline at end of file +})();