Improvement: use the update_method provide by the server

This commit is contained in:
Laurent Clouet
2015-01-13 21:07:58 +01:00
parent 207533867b
commit ffb49740af
2 changed files with 9 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ public class Job {
private Configuration config;
public Job(Configuration config_, String id_, String frame_, String revision_, String path_, boolean use_gpu, String command_, String script_, String sceneMd5_, String rendererMd5_, String extras_, boolean synchronous_upload_) {
public Job(Configuration config_, String id_, String frame_, String revision_, String path_, boolean use_gpu, String command_, String script_, String sceneMd5_, String rendererMd5_, String extras_, boolean synchronous_upload_, String update_method_) {
config = config_;
id = id_;
numFrame = frame_;
@@ -64,7 +64,7 @@ public class Job {
memoryUsed = 0;
script = script_;
maxOutputNbLines = 0;
updateRenderingStatusMethod = null;
updateRenderingStatusMethod = update_method_;
process = null;
askForRendererKill = false;