Page MenuHome

Node Wrangler: Fix T97724: Better align nodes on texture setup.
ClosedPublic

Authored by Leon Schittek (lone_noel) on May 26 2022, 7:47 AM.

Details

Summary

Improvements to Node Wrangler's texture setup:

  1. The added nodes are now top aligned with the nodes they belong to. This looks nicer and works independent of screen dpi.
  2. There is a vertical offset based on the socket the added nodes are connected to. This prevents nodes from overlapping too much, when executing the texture setup several times in a row.
  3. Ignore disabled sockets, which would create nodes seemingly connected to nothing.

This patch also does a bit of cleanup on the code it touches. I can
remove them, if it's better to separate them from functional changes.

Comparison

masterpatch
T97724
handling disabled sockets

Skip enabled sockets fo the texture setup.

Diff Detail

Repository
rBA Blender Add-ons
Branch
node-wrangler-fix-T97724
Build Status
Buildable 22277
Build 22277: arc lint + arc unit