forked from bartvdbraak/blender
771906bc09
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. |
||
---|---|---|
.. | ||
bl_i18n_utils | ||
bpy | ||
bpy_extras | ||
console | ||
addon_utils.py | ||
animsys_refactor.py | ||
blend_render_info.py | ||
bpy_restrict_state.py | ||
bpy_types.py | ||
bpyml_ui.py | ||
bpyml.py | ||
console_python.py | ||
console_shell.py | ||
graphviz_export.py | ||
keyingsets_utils.py | ||
nodeitems_utils.py | ||
rna_info.py | ||
rna_keymap_ui.py | ||
rna_prop_ui.py | ||
rna_xml.py | ||
sys_info.py |