Allow execution of the file sharing operator

(rather than requiring INVOKE_DEFAULT)
This commit is contained in:
Sybren A. Stüvel 2016-07-06 16:25:31 +02:00
parent 662b6cf221
commit 959e83229b

View File

@ -74,6 +74,9 @@ class PILLAR_OT_image_share(pillar.PillarOperatorMixin,
self._new_async_task(self.async_execute(context))
return {'RUNNING_MODAL'}
def execute(self, context):
return self.invoke(context, None)
async def async_execute(self, context):
"""Entry point of the asynchronous operator."""