Fix: Detect issues with the color management
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user