Fix: cleanup working dir after blender has exited

This commit is contained in:
M*C*O
2024-04-19 18:40:55 +00:00
committed by Laurent Clouet
parent a1f6343d49
commit 51e1388aaa
4 changed files with 25 additions and 14 deletions

View File

@@ -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 {