Fix: Node Wrangler: non-color bump and normal in principled setup
commitbed1754543db061a5e8242af5e56160281f1b625
authorDamien Picard <dam.pic@free.fr>
Thu, 14 Mar 2024 14:25:00 +0000 (14 15:25 +0100)
committerDamien Picard <dam.pic@free.fr>
Thu, 14 Mar 2024 14:25:00 +0000 (14 15:25 +0100)
treed9084b36d5bc865fc8b8c9090b80398b234d2582
parent7a5c650a016bd1044bef2b7c49d9f9f32b515ba7
Fix: Node Wrangler: non-color bump and normal in principled setup

Commit d50d3f2734 allowed the use of both bump and normal maps when
using Node Wrangler's Principled Setup. However it made those textures
use the default color space instead of Non-Color, which should be used
for data maps.

The bug was introduced because bump and normal maps were handled as
part of regular textures, for which the Non-Color space is assigned
based on name. The change led to them being extracted to their own
block, but the color space assignment was omitted.

Pull Request: https://projects.blender.org/blender/blender-addons/pulls/105236
node_wrangler/operators.py