add new error messages for Blender 4.1

This commit is contained in:
harlekin
2024-03-15 12:19:34 +01:00
parent c615c9b36d
commit 43e936ab3d

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)) {