UI: Add Wavelength unit for scene-independent nanometer-scale inputs

Currently this is only used for the Wavelength node, but it will also be relevant for the Thin Film Interference support in the Principled BSDF.

Pull Request: https://projects.blender.org/blender/blender/pulls/120900
This commit is contained in:
Lukas Stockner
2024-04-22 13:10:16 +02:00
committed by Lukas Stockner
parent f4894c098f
commit cc541f2c07
13 changed files with 96 additions and 4 deletions

View File

@@ -52,6 +52,7 @@ static const char *bpyunits_ucategories_items[] = {
"CAMERA",
"POWER",
"TEMPERATURE",
"WAVELENGTH",
nullptr,
};