UI: Add Color Temperature unit
The current temperature unit adjusts to Celsius or Fahrenheit based on unit system, but specifically for color temperatures the convention is to display them in Kelvin, and it'd be strange to e.g. see 11240°F when opening the white balance panel. Therefore, this adds a dedicated Color Temperature unit, and uses it for the two existing blackbody temperature inputs in shader nodes. Pull Request: https://projects.blender.org/blender/blender/pulls/123337
This commit is contained in:
committed by
Lukas Stockner
parent
0a38a8d56a
commit
25d4d645cd
@@ -53,6 +53,7 @@ static const char *bpyunits_ucategories_items[] = {
|
||||
"POWER",
|
||||
"TEMPERATURE",
|
||||
"WAVELENGTH",
|
||||
"COLOR_TEMPERATURE",
|
||||
nullptr,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user