Update-Run: 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 variant includes everything from Update-Run, plus benchmarking code and showing it in graphs withtin your browser using SnakeVis, adding a Protect State for your code, and having the ability to revert your code at each run which can help for rapid testing.
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!
This addon is based on the General Public License (GPL). Full details can be found in the file ‘gpl-license.pdf’ that has been provided or at https://gnu.org/licenses/gpl-3.0.en.html.
With this license, you have the right to:
- use the software for any purpose
- change the software to suit your needs
- share the software with your friends and neighbors
- share the changes you make