Adds Engine not detected as ErrorType.

This commit is contained in:
Space
2020-12-13 10:46:55 +00:00
committed by Sheepit Renderfarm
parent 7d984f94a5
commit 4c3b5c0188
2 changed files with 9 additions and 0 deletions

View File

@@ -856,6 +856,12 @@ import lombok.Getter;
// Saved: '/tmp/cache/8_0001.png'
return Error.Type.GPU_NOT_SUPPORTED;
}
else if (line.contains("Engine 'CYCLES' not available for scene") || line.contains("Engine 'BLENDER_EEVEE' not available for scene")) {
return Error.Type.ENGINE_NOT_AVAILABLE;
}
else if (line.contains("Warning: Cycles is not enabled!")) {
return Error.Type.ENGINE_NOT_AVAILABLE;
}
return Type.OK;
}