Remove blend files after the render has started

This commit is contained in:
Laurent Clouet
2019-08-07 17:02:52 +02:00
parent edbd4cae52
commit de4dfcd047
3 changed files with 18 additions and 1 deletions

View File

@@ -627,6 +627,8 @@ public class Client {
}
return err;
}
removeSceneDirectory(ajob);
return Error.Type.OK;
}
@@ -699,6 +701,10 @@ public class Client {
return true;
}
protected void removeSceneDirectory(Job ajob) {
Utils.delete(new File(ajob.getSceneDirectory()));
}
protected int prepareWorkingDirectory(Job ajob) throws FermeExceptionNoSpaceLeftOnDevice {
int ret;