Seamlessly remove a node from a wire
Would be great to be able to delete a node and have its input wire plug itself into where the node originally led, where possible. Maybe on L1+triangle.
It could keep its pins for routing, too. Nothing more frustrating than removing a node and having to redo the routing when it's a long wire.
-
The main risk I can see is if a Node has lots of input wires and lots of output wires. This would lead to an increase in the total number of wires, because wires would have to be generated between every input and output location.
Maybe some kind of warning if you're going to increase wire thermometer by removing the Node? Mm would still have to account for when a Scene is close to 100% wire thermo, and prevent the creator from pushing over 100% by removing the Node.
-
Would be useful! Also, surely this would never increase thermo? If anything it would always decrease “things” by at least 1.
If there was a node, 1 input wire and 10 output wires, the net result after deleting+rewriting would be 10 “things”. 10 wires.
-
Skn3-- The gadget count will always decrease by 1, but this isn't true for wires. The resulting number of wires is multiplicative, so 1 input and 10 outputs = 11 wires with a Node, and 10 wires without. However, if you had something like 5 inputs and 10 outputs, then this would be 15 wires with a Node and 50 without.
-
OgTheEnigma And there are more situations for which it would need to display a warning. First, if all of the following conditions are true:
- A gadget input with one wire from the output of the node to be deleted also has one or more wires from other gadgets.
- The node to be deleted has more than one input wire.
- The blend mode of the input of the node to be deleted and/or the blend mode of the gadget input mentioned in condition 1 is "blend".
then the math of blending the input wires to the node to be deleted combined with the math of blending the input wires to the gadget input mentioned in condition 1 in exactly the same way as they were blended before deleting the node will be impossible for any of the blend modes that we have now.
Second, if the node is partially powered - and there are tricks for doing this that don't require a wire to the node's power input - deleting the node won't preserve the modulation effect that the partial power value applied to the node's output.
-
@OgTheEnigma, oh yes true! Wasn’t thinking properly. I was only thinking 1:many.
I guess that’s why this is a great suggestion. Think of the effort to do that rewire job manually!
Blending issues pointed out by @TheBeardyMan, I guess it would be a very prickly operation. It would either have to very strict and refuse the operation unless all requirements met, or just warn the user. Like the undo warning!
Accedi per aggiungere un commento.