Node Wrangler: select only newly-created nodes when adding reroutes
commit5f2dbfc436a258d627d8579faee87464e712664c
authorDamien Picard <dam.pic@free.fr>
Tue, 23 Jan 2024 15:41:26 +0000 (23 16:41 +0100)
committerDamien Picard <dam.pic@free.fr>
Sat, 3 Feb 2024 14:09:32 +0000 (3 15:09 +0100)
tree95d7ccedb85d5478c2c1fe9e0a8cd290820b5757
parent2701cca9b8d94b07a8ca502491f32922b9fd1445
Node Wrangler: select only newly-created nodes when adding reroutes

Selection was not always coherent after adding reroutes, such as with
hidden nodes.

This also allows restoring selection and cancelling the operator if no
change was made.
node_wrangler/operators.py