Fix: Detect issues with the color management

This commit is contained in:
Raimund58
2023-12-01 12:32:09 +00:00
committed by harlekin
parent 49e4baaf93
commit 830af1615c
2 changed files with 14 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ public class Error {
DENOISING_NOT_SUPPORTED(29),
CANNOT_READ_FILE(30),
DETECT_DEVICE_ERROR(31),
COLOR_MANAGEMENT_ERROR(33),
// internal error handling
NO_SPACE_LEFT_ON_DEVICE(100),
@@ -231,6 +232,8 @@ public class Error {
return "Blender failed to detect the render device. Please check if you have all the necessary libraries installed and if your drivers are up to date.";
case GPU_OR_DRIVER_ERROR:
return "There was an error with your GPU or driver. Please ensure you have the latest driver and don't run extreme over/underclockings.";
case COLOR_MANAGEMENT_ERROR:
return "There was an error with the Color management. Please ensure you didn't set a weird OCIO config. Or the project might use an unsupported Color management configuration.";
default:
return in.toString();
}