Skip to content

Commit

Permalink
Merge pull request #2310 from KhronosGroup/fix_2307
Browse files Browse the repository at this point in the history
Fix #2307 - use wait cursor
  • Loading branch information
julienduroure committed Aug 30, 2024
2 parents 881e92e + c8c3bcb commit f812403
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions addons/io_scene_gltf2/blender/exp/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,10 @@ def __write_file(json, buffer, export_settings):

def __notify_start(context, export_settings):
export_settings['log'].info('Starting glTF 2.0 export')
context.window_manager.progress_begin(0, 100)
context.window_manager.progress_update(0)
context.window.cursor_set('WAIT')


def __notify_end(context, elapsed, export_settings):
export_settings['log'].info('Finished glTF 2.0 export in {} s'.format(elapsed))
context.window_manager.progress_end()
context.window.cursor_set('DEFAULT')
print()

0 comments on commit f812403

Please sign in to comment.