-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolved "Disable/Reenable bug" on opening a blend
Reported by Ares, this one was a bit of a bear, mostly because I was looking in the wrong spot. I tried importing time to set a delay before registration, tried using threading to monitor the keymap registration, tried enabling "Autorun Python Scripts", and nothing worked. The addon worked when Blender was opened first, but not when a .blend file was clicked before the program was open. Solved by iceythe Kaio on Blender Artists: https://blenderartists.org/t/why-wont-this-addon-retain-keymap-user-preferences/1164306 When you store keymaps in addon keymaps they are dumped between blender sessions, but when you store them in user keymaps, they remain between sessions, and, thus, don't need to be manually disabled and re-enabled every time you double click a blend file.
- Loading branch information
1 parent
04cdde2
commit 9b1a36f
Showing
2 changed files
with
57 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters