Merge branch 'cleanup-errors' into 'master'

Remove cleanup of the working directory

See merge request sheepitrenderfarm/client!236
This commit is contained in:
Sheepit Renderfarm
2023-09-19 17:10:35 +00:00

View File

@@ -1074,11 +1074,9 @@ import java.util.regex.Pattern;
return Error.Type.GPU_NOT_SUPPORTED; 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") || line.contains("Engine 'BLENDER_WORKBENCH' not available for scene") || line.contains("Engine 'HYDRA_STORM' not available for scene")) { else if (line.contains("Engine 'CYCLES' not available for scene") || line.contains("Engine 'BLENDER_EEVEE' not available for scene") || line.contains("Engine 'BLENDER_WORKBENCH' not available for scene") || line.contains("Engine 'HYDRA_STORM' not available for scene")) {
this.configuration.cleanWorkingDirectory();
return Error.Type.ENGINE_NOT_AVAILABLE; return Error.Type.ENGINE_NOT_AVAILABLE;
} }
else if (line.contains("Warning: Cycles is not enabled!")) { else if (line.contains("Warning: Cycles is not enabled!")) {
this.configuration.cleanWorkingDirectory();
return Error.Type.ENGINE_NOT_AVAILABLE; return Error.Type.ENGINE_NOT_AVAILABLE;
} }
else if (line.contains("OpenImageDenoise error: SSE4.1 support is required at minimum") || line.contains("OpenImageDenoiser is not supported on this CPU:") || line.contains("No device available to denoise on")) { else if (line.contains("OpenImageDenoise error: SSE4.1 support is required at minimum") || line.contains("OpenImageDenoiser is not supported on this CPU:") || line.contains("No device available to denoise on")) {