blender/release/scripts/modules
Sybren A. Stüvel d982ea9a9e Fix error when an addon has no __init__.py
When an addon has been removed, but its `.pyc` files are still there,
the Python module can still be loaded. However, because `__init__.py` is
missing, it becomes a namespace instead of a module, and its `__file__`
will be set to `None`. As a result, it's impossible to get the mtime
from the file (because there is none).

This should not influence any regularly uninstalled add-on, as that
would just remove the add-on's directory; I ran into the problem when
switching Git branches caused an add-on's Python files to disappear
while keeping the `__pycache__` directory around.
2021-03-26 10:46:26 +01:00
..
bl_app_override Fix bl_app_override keyword argument use 2019-09-16 04:31:22 +10:00
bl_i18n_utils Cleanup: unused imports 2021-03-06 19:26:18 +11:00
bl_keymap_utils Sculpt: Expand Operator 2021-03-02 16:53:56 +01:00
bl_previews_utils Cleanup: unused variables 2021-03-06 19:00:18 +11:00
bl_ui_utils Cleanup: use percentage formatting 2020-06-26 12:33:19 +10:00
bpy PyAPI: bpy.utils.execfile temporarily overrides the __main__ module 2021-02-19 11:23:30 +11:00
bpy_extras Cleanup: unused imports 2021-03-06 19:26:18 +11:00
console Cleanup: remove Python 2.x support from complete_calltip 2021-03-02 17:02:52 +11:00
gpu_extras Cleanup: pep8 (indentation, spacing, long lines) 2020-10-02 11:59:16 +10:00
addon_utils.py Fix error when an addon has no __init__.py 2021-03-26 10:46:26 +01:00
animsys_refactor.py Cleanup: pep8 (indentation, spacing, long lines) 2020-10-02 11:59:16 +10:00
bl_app_template_utils.py Fix app-template warning disabling a template without a Python module 2020-06-03 14:46:52 +10:00
blend_render_info.py Spelling fixes in comments and descriptions, patch by luzpaz. 2018-09-03 16:55:01 +02:00
bpy_restrict_state.py RNA: naming, user-preferences -> preferences 2018-12-21 12:55:02 +11:00
bpy_types.py Cleanup: unused imports 2021-03-06 19:26:18 +11:00
console_python.py Cleanup: remove workaround for Python 3.7x crashing with libedit 2021-03-06 19:31:49 +11:00
console_shell.py Cleanup: unused args/vars/imports in modules 2019-05-09 13:11:36 +10:00
graphviz_export.py Cleanup: pep8 (indentation, spacing, long lines) 2020-10-02 11:59:16 +10:00
keyingsets_utils.py Cleanup: spelling 2019-08-12 01:10:43 +10:00
nodeitems_utils.py UI: Only draw node menu search if categories exist 2020-08-17 13:43:19 +02:00
rna_info.py Cleanup: unused variables 2021-03-06 19:00:18 +11:00
rna_keymap_ui.py Fix T77743: Number pad key-map items missing from search 2020-06-23 17:55:36 +10:00
rna_manual_reference.py Update RNA to Manual Map 2021-03-22 23:23:47 -04:00
rna_prop_ui.py Fix custom property UI handling names with quotes and back-slashes 2020-12-09 17:04:05 +11:00
rna_xml.py Fix T85915: Cannot save new theme preset 2021-02-24 23:39:38 +11:00
sys_info.py PyAPI: point sys.executable to the Python binary 2020-10-29 11:22:39 +11:00