From 551cecc12f90782bdc2560242d7335e7f0545350 Mon Sep 17 00:00:00 2001 From: Laurent Clouet Date: Mon, 29 Aug 2016 20:07:38 +0200 Subject: [PATCH] User friendly error message --- src/com/sheepit/client/Error.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/sheepit/client/Error.java b/src/com/sheepit/client/Error.java index 7a11c91..8038e52 100644 --- a/src/com/sheepit/client/Error.java +++ b/src/com/sheepit/client/Error.java @@ -153,6 +153,8 @@ public class Error { return "Renderer has crashed. It's usually due to a bad project or not enough memory. There is nothing you can do about it. Will try another project in a few minutes."; case RENDERER_OUT_OF_VIDEO_MEMORY: return "Renderer has crashed, due to not enough video memory (vram). There is nothing you can do about it. Will try another project in a few minutes."; + case RENDERER_OUT_OF_MEMORY: + return "No more memory available. There is nothing you can do about it. Will try another project in a few minutes."; case GPU_NOT_SUPPORTED: return "Rendering have failed due to a GPU not supported (please check the CUDA version)"; case RENDERER_MISSING_LIBRARIES: