Timeline for Is there a way to restart a modified addon?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 22, 2021 at 12:50 | history | edited | brockmann | CC BY-SA 4.0 |
blender 28x update
|
Jul 21, 2019 at 14:08 | comment | added | NumesSanguis |
The place to add the shortcut, as seen in the image in the above link, can be found: Preferences -> Keymap -> Screen -> Screen (Global) -> Add New -> collapse , then enter script.reload with your desired shortcut.
|
|
Apr 21, 2019 at 5:04 | comment | added | NumesSanguis |
In Blender 2.8 F8 doesn't work out of the box anymore. Search with F3 for reload scripts or remap it yourself (answer from: devtalk.blender.org/t/reload-button-in-2-8/1708)
|
|
May 9, 2018 at 21:13 | comment | added | splic |
It is worth noting that this will only reload the __init__.py portion of the addon. Any changes in imported sub-modules will not be registered unless Blender is re-opened or code is included in accordance with this answer blender.stackexchange.com/a/28505/3292
|
|
Sep 4, 2013 at 2:15 | history | edited | ideasman42 | CC BY-SA 3.0 |
added 50 characters in body
|
Sep 4, 2013 at 2:08 | comment | added | ideasman42 |
@stacker, you could handle any resources (sockets, open files etc), in the addons unregister function. This should allow you to support cleaning up before reloading
|
|
Sep 3, 2013 at 20:41 | vote | accept | stacker | ||
Sep 3, 2013 at 20:39 | comment | added | stacker | Thanks this works, unfourtunatly it doesn't care about my opened sockets and complains that I tried to open the socket twice (OSError: [WinError 10048]). Is there a 'harder' reload. This should probably another question. I will upvote later (run out of upvotes for today). | |
Sep 3, 2013 at 20:35 | history | edited | stacker | CC BY-SA 3.0 |
minor typo
|
Sep 3, 2013 at 20:30 | history | answered | hjaarnio | CC BY-SA 3.0 |