add new error messages for Blender 4.1
This commit is contained in:
@@ -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)) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user