Fix: Support other color configs than the bundled one

This commit is contained in:
Raimund58
2025-03-28 09:29:04 +00:00
committed by Laurent Clouet
parent 617e1c1a90
commit d0d2c99ba9
5 changed files with 162 additions and 1 deletions

View File

@@ -32,6 +32,8 @@ import lombok.Data;
private long fullImageSize = 0;
private float speedSamplesRendered = 0; // only used for powerdetection project
private boolean isReadBlendLineLogged = false; // Only look for Color management: AFTER "Read blend: " line was detected
private String blenderShortVersion;
private String blenderLongVersion;
@@ -43,7 +45,10 @@ import lombok.Data;
// 07-04 07:43:12 (debug) /tmp///rend.exe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp///lib/libboost_filesystem.so.1.80.0)
return Error.Type.OS_NOT_SUPPORTED;
}
else if (line.contains("Color management:")) {
else if (line.contains("Read blend:")) { // Only look for Color management: AFTER "Read blend: PATH" was detected
isReadBlendLineLogged = true;
}
else if (isReadBlendLineLogged && line.contains("Color management:")) {
String[] errors = {
" not found",
" is not compatible ",