UpdateRun: Debug & Programme

Have you ever thought about how unnecessary it is to update and run a script in Blender’s Text Editor? While it’s far from being complex, the little ritual of clicking ‘Resolve’, then ‘Reload’ then ‘Play’ becomes strenuous and borderline absurd.

UpdateRun has just one button that updates the script from disk, resolves conflicts, and runs it all in one click. If the button’s not red, it’ll run the script just as in default Blender.

But wait, there’s more: by default there is no way to clear the terminal, but now you can easily do that, in addition to having a timestamp and text telling you when the script has finished running.

This can show you where certain functions are being repeated too many times, or unintended actions are throttling the performance of your script. With that in mind, you can find the issues easier and flesh out your work.

When you’re programming a script directly in Blender, and that would lead to errors or changes of the UI, that can rattle your workplace and lead to a lot of redundant re-openings of the programming tab.

When you use Protect State, your programming tab will remain in frame at all times no matter of your script’s outcome.

It’s time to save some time and lotta mouse clicks!


Category: Programming & debugging
Software: Blender 2.83, 2.93, 3.x
License: GPL