Allow execution of the file sharing operator
(rather than requiring INVOKE_DEFAULT)
This commit is contained in:
parent
662b6cf221
commit
959e83229b
@ -74,6 +74,9 @@ class PILLAR_OT_image_share(pillar.PillarOperatorMixin,
|
|||||||
self._new_async_task(self.async_execute(context))
|
self._new_async_task(self.async_execute(context))
|
||||||
return {'RUNNING_MODAL'}
|
return {'RUNNING_MODAL'}
|
||||||
|
|
||||||
|
def execute(self, context):
|
||||||
|
return self.invoke(context, None)
|
||||||
|
|
||||||
async def async_execute(self, context):
|
async def async_execute(self, context):
|
||||||
"""Entry point of the asynchronous operator."""
|
"""Entry point of the asynchronous operator."""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user