Color management: Use default view with no extra transform when not specified
[blender.git] / source / blender / blenkernel / intern / colortools.c
index d86dddd4e399daee69d6ec5b3b00f87e048053c4..554a5a63b1a7f41654e28cfb7e70496765cff712 100644 (file)
@@ -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)
 {