Remove blend files after the render has started
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user