tag:blogger.com,1999:blog-2986679130504525123.post8173601421119390964..comments2024-03-28T19:22:02.956+01:00Comments on Small Blender Things: How to add a progress indicator to the Info header in BlenderMichelhttp://www.blogger.com/profile/07415131908018321030noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-2986679130504525123.post-62202461081842494032022-11-08T17:46:25.506+01:002022-11-08T17:46:25.506+01:00Thank you so much for posting this! I know this co...Thank you so much for posting this! I know this code is 5+ years old at this point, but it's still extremely helpful. Let's hope that Blender makes this easier at some point in the future!Benhttps://www.blogger.com/profile/17931083230307583062noreply@blogger.comtag:blogger.com,1999:blog-2986679130504525123.post-59008757983957035792021-05-11T04:22:54.756+02:002021-05-11T04:22:54.756+02:00I saw the newdraw function inside the register fun...I saw the newdraw function inside the register function. Rombouthttps://www.blogger.com/profile/12122797667647687255noreply@blogger.comtag:blogger.com,1999:blog-2986679130504525123.post-10101267827211050212021-05-09T11:02:17.883+02:002021-05-09T11:02:17.883+02:00it should show up in the right hand side of the he...it should show up in the right hand side of the header, above the gizmo's . Maybe you forgot to change the update() function? because the correct area needs to be tagged for redraw. Anyway, I updated the code and tested it with 2.92. I documented the changes in a small blog post https://blog.michelanders.nl/2021/05/progress-indicator-updated.htmlMichelhttps://www.blogger.com/profile/07415131908018321030noreply@blogger.comtag:blogger.com,1999:blog-2986679130504525123.post-60105382295890551992021-05-09T07:11:55.123+02:002021-05-09T07:11:55.123+02:00I tried change INFO_MT_header to VIEW3D_HT_tool_he...I tried change INFO_MT_header to VIEW3D_HT_tool_header with i do see the progressbar. Im not sure where INFO_MT_Header should show it, i dont see it with thatRombouthttps://www.blogger.com/profile/12122797667647687255noreply@blogger.comtag:blogger.com,1999:blog-2986679130504525123.post-68128076546851772872021-05-09T00:11:55.779+02:002021-05-09T00:11:55.779+02:00I do see newdraw inside the register, is that corr...I do see newdraw inside the register, is that correct?<br />Im trying to get this to work in 2.91 and it keeps failing><br />Keep returning this error<br />bpy_struct.__new__(type): expected a single argumentRombouthttps://www.blogger.com/profile/12122797667647687255noreply@blogger.comtag:blogger.com,1999:blog-2986679130504525123.post-1368675905426364902021-05-08T11:48:33.317+02:002021-05-08T11:48:33.317+02:00Not quite sure what you mean: I am not running a f...Not quite sure what you mean: I am not running a function inside the register function but I do define a new one newdraw() that I then use to replace the original draw function of the INFO_MT_header. I am not sure this will work in 2.92Michelhttps://www.blogger.com/profile/07415131908018321030noreply@blogger.comtag:blogger.com,1999:blog-2986679130504525123.post-51586439886742433292021-05-08T09:42:14.556+02:002021-05-08T09:42:14.556+02:00why are you running a function inside the register...why are you running a function inside the register?Rombouthttps://www.blogger.com/profile/12122797667647687255noreply@blogger.com