Closed coltfox closed 2 years ago
Turns out this happens just because the scripts that weren't reloading were in a submodule and you have to reload that submodule in the main init.py script. https://blender.stackexchange.com/questions/28504/blender-ignores-changes-to-python-scripts This has nothing to do with the addon itself.
Certain scripts in my addon are not updating. The register and unregister methods and operators are updated on each reload, but outside scripts aren't. For instance, in my addon, I have an operator which calls a method from an imported script. If I were to change the method in the imported script, then that change would not take effect until I run Blender: Start again. However, if I were to, for example, change the code under the register method, then that change would take effect if I just reloaded the addon. I even went to the Blender addons folder in AppData and checked to see if the imported script had been changed and it had but Blender was using an outdated version. I also tried running Blender > System > Reload Scripts to no avail.