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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-12-06 14:21:37 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-12-06 14:31:50 +0300
commit7ed8e9167d725cc36b0c017c630e8b226fa65b3b (patch)
tree6e5723c1ad480fde2f60479be87d824cdee91a17 /source/blender/blenkernel/intern/colortools.c
parent005e6274ad9105b8e8b03ba527487bee391dc8a4 (diff)
Color management: Use default view with no extra transform when not specified
Diffstat (limited to 'source/blender/blenkernel/intern/colortools.c')
-rw-r--r--source/blender/blenkernel/intern/colortools.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c
index d86dddd4e39..554a5a63b1a 100644
--- a/source/blender/blenkernel/intern/colortools.c
+++ b/source/blender/blenkernel/intern/colortools.c
@@ -1588,6 +1588,14 @@ void BKE_color_managed_view_settings_init_render(
view_settings->exposure = 0.0f;
}
+void BKE_color_managed_view_settings_init_default(
+ struct ColorManagedViewSettings *view_settings,
+ const struct ColorManagedDisplaySettings *display_settings)
+{
+ IMB_colormanagement_init_default_view_settings(
+ view_settings, display_settings);
+}
+
void BKE_color_managed_view_settings_copy(ColorManagedViewSettings *new_settings,
const ColorManagedViewSettings *settings)
{