Fix: Support other color configs than the bundled one
This commit is contained in:
committed by
Laurent Clouet
parent
617e1c1a90
commit
d0d2c99ba9
@@ -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 ",
|
||||
|
||||
Reference in New Issue
Block a user