Always clear images before stopping the GUI operator
This commit is contained in:
parent
9e939dfd03
commit
c2ee865cff
@ -331,6 +331,8 @@ class BlenderCloudBrowser(bpy.types.Operator):
|
|||||||
def _finish(self, context):
|
def _finish(self, context):
|
||||||
self.log.debug('Finishing the modal operator')
|
self.log.debug('Finishing the modal operator')
|
||||||
self._stop_async_task()
|
self._stop_async_task()
|
||||||
|
self.clear_images()
|
||||||
|
|
||||||
context.space_data.draw_handler_remove(self._draw_handle, 'WINDOW')
|
context.space_data.draw_handler_remove(self._draw_handle, 'WINDOW')
|
||||||
context.window_manager.event_timer_remove(self.timer)
|
context.window_manager.event_timer_remove(self.timer)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user