From 9932003400a9c7e3911c4a60aeaa65573be36fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 5 Sep 2017 11:16:17 +0200 Subject: [PATCH] Fix T48852: screenshot always shows "Communicating with Blender Cloud" --- CHANGELOG.md | 2 ++ blender_cloud/image_sharing.py | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a41472..87e365b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## Version 1.7.4 (in development) - Fixed class name collision upon add-on registration. This is checked since Blender 2.79. +- Fix [T48852](https://developer.blender.org/T48852): Screenshot no longer shows "Communicating with + Blender Cloud". ## Version 1.7.3 (2017-08-08) diff --git a/blender_cloud/image_sharing.py b/blender_cloud/image_sharing.py index 3dba2cc..03c034d 100644 --- a/blender_cloud/image_sharing.py +++ b/blender_cloud/image_sharing.py @@ -112,7 +112,11 @@ class PILLAR_OT_image_share(pillar.PillarOperatorMixin, async def async_execute(self, context): """Entry point of the asynchronous operator.""" - self.report({'INFO'}, 'Communicating with Blender Cloud') + # We don't want to influence what is included in the screen shot. + if self.target == 'SCREENSHOT': + print('Blender Cloud add-on is communicating with Blender Cloud') + else: + self.report({'INFO'}, 'Communicating with Blender Cloud') try: # Refresh credentials