diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-06 13:56:23 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-06 14:31:50 +0300 |
commit | 005e6274ad9105b8e8b03ba527487bee391dc8a4 (patch) | |
tree | 5976a81adbf1690947ad5c6394869c6be1652fef /source/blender/blenkernel/BKE_colortools.h | |
parent | 0e5f97a3a1b3ad2bc49b2e553345bd191b2e06cf (diff) |
Color management: Cleanup, make function name more clear
The idea is to reflect that the view settings are the best
for cases when one wants to see things as if they are a
render result.
Diffstat (limited to 'source/blender/blenkernel/BKE_colortools.h')
-rw-r--r-- | source/blender/blenkernel/BKE_colortools.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_colortools.h b/source/blender/blenkernel/BKE_colortools.h index 7c378bd3e06..d509bf5eb6c 100644 --- a/source/blender/blenkernel/BKE_colortools.h +++ b/source/blender/blenkernel/BKE_colortools.h @@ -101,9 +101,12 @@ void BKE_color_managed_display_settings_copy( struct ColorManagedDisplaySettings *new_settings, const struct ColorManagedDisplaySettings *settings); -void BKE_color_managed_view_settings_init( +/* Initialize view settings to be best suitable for render type of viewing. + * This will use default view transform from the OCIO configuration. */ +void BKE_color_managed_view_settings_init_render( struct ColorManagedViewSettings *settings, const struct ColorManagedDisplaySettings *display_settings); + void BKE_color_managed_view_settings_copy( struct ColorManagedViewSettings *new_settings, const struct ColorManagedViewSettings *settings); |