Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add progress indicator for crawler #4

Open
kromar opened this issue Mar 21, 2022 · 0 comments
Open

add progress indicator for crawler #4

kromar opened this issue Mar 21, 2022 · 0 comments

Comments

@kromar
Copy link
Owner

kromar commented Mar 21, 2022

https://docs.blender.org/api/current/bpy.types.WindowManager.html?highlight=progress#bpy.types.WindowManager.progress_update

        progress_total = len(files)
        wm = bpy.context.window_manager
        wm.progress_begin(0, progress_total)       
        for i in range(progress_total):
            wm.progress_update(i)   
            print(i)
        wm.progress_end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant