From 5f58f8b6f718ef862aa92d89193437a7aff9a935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 16 Mar 2018 12:26:16 +0100 Subject: [PATCH] Set status done 'DONE' after done --- blender_cloud/flamenco/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blender_cloud/flamenco/__init__.py b/blender_cloud/flamenco/__init__.py index b5881d5..2d462a6 100644 --- a/blender_cloud/flamenco/__init__.py +++ b/blender_cloud/flamenco/__init__.py @@ -273,6 +273,11 @@ class FLAMENCO_OT_render(async_loop.AsyncModalOperatorMixin, self.quit() + def quit(self): + if bpy.context.window_manager.flamenco_status != 'ABORTED': + bpy.context.window_manager.flamenco_status = 'DONE' + super().quit() + async def _save_blendfile(self, context): """Save to a different file, specifically for Flamenco.