blender/release/scripts/modules/bl_i18n_utils
Lukas Toenne 771906bc09 Fix for #36387, User Preferences "Addons" panel bogs down the whole interface.
The addons panel draw function calls addon_utils.modules() which in turn retrieves a list of fake modules from the script paths every time. This can become costly when network paths are included for
addons. Solution is to put the scanning process into a dedicated "refresh" function and disable it in frequently called draw and filter functions, i.e. in these cases the cached addons_fake_modules list
will be used instead.

Note that this may lead to invalid addon lists if script paths are changed (which is not working 100% without restart anyway according to Campbell). For this there is now a "Refresh" operator button in
the addons preferences. If necessary and feasible such forced refreshes can be added later too.
2013-08-28 06:36:54 +00:00
..
__init__.py rename module to something less generic. 2012-07-03 11:32:42 +00:00
bl_extract_messages.py More "relpath" try/except protection... 2013-08-18 15:17:33 +00:00
merge_po.py Big refactor of bl_i18n_utils, switching to an object-based model. Still a bit wip. 2013-01-12 16:49:06 +00:00
settings_user.py Some renaming/cleanup in i18n tools. 2013-03-19 08:33:24 +00:00
settings.py More "relpath" try/except protection... 2013-08-18 15:17:33 +00:00
utils_languages_menu.py pep8 cleanup 2013-06-27 03:05:19 +00:00
utils_rtl.py Some renaming/cleanup in i18n tools. 2013-03-19 08:33:24 +00:00
utils_spell_check.py Usual edits/fixes to new UI messages... 2013-08-06 14:55:00 +00:00
utils.py Fix for #36387, User Preferences "Addons" panel bogs down the whole interface. 2013-08-28 06:36:54 +00:00