Fix: cleanup working dir after blender has exited
This commit is contained in:
@@ -778,14 +778,8 @@ import okhttp3.HttpUrl;
|
||||
|
||||
if (err != Error.Type.OK) {
|
||||
this.log.error("Client::work problem with runRenderer (ret " + err + ")");
|
||||
if (err == Error.Type.RENDERER_CRASHED_PYTHON_ERROR) {
|
||||
this.log.error("Client::work failed with python error, cleaning directory in hope to recover");
|
||||
this.configuration.cleanWorkingDirectory();
|
||||
}
|
||||
return err;
|
||||
}
|
||||
|
||||
return Error.Type.OK;
|
||||
return err;
|
||||
}
|
||||
|
||||
protected Error.Type downloadSceneFile(Job ajob_) throws SheepItException {
|
||||
|
||||
Reference in New Issue
Block a user