Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Wilson <EAW>2022-01-11 11:50:50 +0300
committerJeroen Bakker <jeroen@blender.org>2022-01-11 11:55:22 +0300
commit1949aece21de20ee43415a5464a408ea0137e3ca (patch)
treed723dbf12c5e6ecde979ec66e267df647904288f
parent4e8a883bcc9377b231c41e29f417c9929fdfc7a0 (diff)
Explicit Color OCIO role comment fix.
This is an update to the correct OCIO role. It changes `SceneReference` to `scene_linear` See https://opencolorio.readthedocs.io/en/latest/guides/authoring/overview.html#config-roles > - reference - the color space against which the other color spaces are defined >NOTE: The reference role has sometimes been misinterpreted as being the space in which “reference art” is stored in. > > - scene_linear - the scene-referred linear-to-light color space, often the same as the reference space The current OCIO UX working group doc says: >reference: This role has had multiple interpreted meanings over the years and is a common point of confusion. It is kept in OCIO for backwards compatibility, but the recommendation is that it is not used by apps. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D11398
-rw-r--r--source/blender/blenlib/BLI_color.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_color.hh b/source/blender/blenlib/BLI_color.hh
index dce625777b9..deb1774a4c5 100644
--- a/source/blender/blenlib/BLI_color.hh
+++ b/source/blender/blenlib/BLI_color.hh
@@ -86,7 +86,7 @@ std::ostream &operator<<(std::ostream &stream, const eAlpha &space);
enum class eSpace {
/** Blender theme color space (sRGB). */
Theme,
- /** Blender internal scene linear color space (maps to SceneReference role in OCIO). */
+ /** Blender internal scene linear color space (maps to scene_linear role in OCIO). */
SceneLinear,
/** Blender internal scene linear color space compressed to be stored in 4 uint8_t. */
SceneLinearByteEncoded,