[Bf-blender-cvs] [44a9ff51a01] temp-explicit-colors: Fixed comments still mentioning srgb.

Jeroen Bakker noreply at git.blender.org
Tue May 18 09:16:39 CEST 2021


Commit: 44a9ff51a0157da591a77069070f00c87c2998b6
Author: Jeroen Bakker
Date:   Tue May 18 09:16:26 2021 +0200
Branches: temp-explicit-colors
https://developer.blender.org/rB44a9ff51a0157da591a77069070f00c87c2998b6

Fixed comments still mentioning srgb.

===================================================================

M	source/blender/blenlib/BLI_color.hh

===================================================================

diff --git a/source/blender/blenlib/BLI_color.hh b/source/blender/blenlib/BLI_color.hh
index 63f37484235..64058659420 100644
--- a/source/blender/blenlib/BLI_color.hh
+++ b/source/blender/blenlib/BLI_color.hh
@@ -33,11 +33,11 @@ namespace blender {
  *
  * Usage:
  *
- * Convert an srgb byte color to a linearrgb premultiplied.
+ * Convert an theme byte color to a linearrgb premultiplied.
  * ```
  * ColorTheme4b theme_color;
  * ColorSceneLinear4f<eAlpha::Premultiplied> linearrgb_color =
- *     BLI_color_convert_to_linear(srgb_color).to_premultiplied_alpha();
+ *     BLI_color_convert_to_linear(theme_color).to_premultiplied_alpha();
  * ```
  *
  * The API is structured to make most use of inlining. Most notable are space
@@ -57,9 +57,9 @@ namespace blender {
  * To make this clear to the developer the a `eSpace::SceneLinearByteEncoded`
  * space is added.
  *
- * # sRGB precision
+ * # Precision
  *
- * The sRGB colors can be stored using `uint8_t` or `float` colors. The conversion
+ * Colors can be stored using `uint8_t` or `float` colors. The conversion
  * between the two precisions are available as methods. (`to_4b` and
  * `to_4f`).
  *



More information about the Bf-blender-cvs mailing list