Fix T48852: screenshot always shows "Communicating with Blender Cloud"

This commit is contained in:
Sybren A. Stüvel 2017-09-05 11:16:17 +02:00
parent e7035e6f0c
commit 9932003400
2 changed files with 7 additions and 1 deletions

View File

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

View File

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