Node Wish List

 From:  wayne hill (WAYNEHILL5202)
9581.296 
A modification to the Node Editor to allow multiple object connections.

It is as simple as commenting out one line on the 'main.js' program.

code:
// >>>  if ( this.outputs[slot].type === "objectlist" ) this.disconnectOutput(slot);


code:
LGraphNode.prototype.connect = function (slot, node, target_slot) {
.
.
.
//special case: -1 means node-connection, used for triggers
var output = this.outputs[slot];
if (target_slot === -1) {
	if (output.links == null) output.links = [];
	output.links.push({
		id: node.id,
		slot: -1
	});
} else if (!output.type || //generic output
	!node.inputs[target_slot].type || //generic input
	output.type.toLowerCase() == node.inputs[target_slot].type.toLowerCase()) //same type

	{ // 4-12-2022 wjh
    //  >>>  if ( this.outputs[slot].type === "objectlist" ) this.disconnectOutput(slot);

Image Attachments:
Size: 37.8 KB, Downloaded: 34 times, Dimensions: 403x290px