Don't show stack trace when BAT Pack was aborted
This commit is contained in:
parent
1d81f4bc38
commit
331e9e6ca0
@ -356,6 +356,11 @@ class FLAMENCO_OT_render(async_loop.AsyncModalOperatorMixin,
|
|||||||
self.report({'ERROR'}, 'Unable to transfer %d files' % len(ex.files_remaining))
|
self.report({'ERROR'}, 'Unable to transfer %d files' % len(ex.files_remaining))
|
||||||
self.quit()
|
self.quit()
|
||||||
return None, []
|
return None, []
|
||||||
|
except bat_interface.Aborted:
|
||||||
|
self.log.warning('BAT Pack was aborted')
|
||||||
|
self.report({'WARNING'}, 'Aborted Flamenco file packing/transferring')
|
||||||
|
self.quit()
|
||||||
|
return None, []
|
||||||
|
|
||||||
bpy.context.window_manager.flamenco_status = 'DONE'
|
bpy.context.window_manager.flamenco_status = 'DONE'
|
||||||
return outfile, missing_sources
|
return outfile, missing_sources
|
||||||
|
@ -17,6 +17,7 @@ log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
_running_packer = None # type: pack.Packer
|
_running_packer = None # type: pack.Packer
|
||||||
_packer_lock = threading.RLock()
|
_packer_lock = threading.RLock()
|
||||||
|
Aborted = pack.Aborted
|
||||||
|
|
||||||
|
|
||||||
class BatProgress(progress.Callback):
|
class BatProgress(progress.Callback):
|
||||||
|
Reference in New Issue
Block a user