XmYx / ainodes-engine

GNU Lesser General Public License v2.1
256 stars 15 forks source link

If a required node is disconnected, it does not output an error. #21

Open KewkLW opened 1 year ago

KewkLW commented 1 year ago

I used the Deforum example graph and then removed the connection for Deforum Cadence and connected Deforum anim params to the color params and then clicked run. This produced no output in the console.

What I was hoping would happen, was that for nodes that I leave default/disabled, that it would not require that node to be present. At a minimum it should error out in the console to inform the user something is wrong.

image

XmYx commented 1 year ago

The only error here is the possibility to have multiple nodes connected to the execution socket, which i will fix, but otherwise, if you go one step further, and remove the exec connection from that orphan node, the graph will run, and it will produce output. Deforum implementation is WIP, the graph provided is a good starting point, set it up with your favorite defaults, and save it, but expect changes in it, as animation will be heavily under development.