Merge branch 'fix/new_errors' into 'master'

Fix: add new error messages for Blender 4.1

See merge request sheepitrenderfarm/client!294
This commit is contained in:
Laurent Clouet
2024-04-11 15:26:08 +00:00

View File

@@ -781,7 +781,17 @@ import java.util.regex.Pattern;
return Type.OS_NOT_SUPPORTED; return Type.OS_NOT_SUPPORTED;
} }
else if (line.contains("Color management:")) { else if (line.contains("Color management:")) {
String[] errors = { " not found", " is not compatible ", " Error could not find role", "using fallback mode" }; String[] errors = {
" not found",
" is not compatible ",
" Error could not find role",
" Error, could not find role",
"using fallback mode",
" Error, could not find any displays",
" Error, could not find any views",
" Failed to load bundled config"
};
for (var error : errors) { for (var error : errors) {
if (line.contains(error)) { if (line.contains(error)) {