blender/scripts
Campbell Barton 16919ea5f2 Fix addon_utils.enable() error when the module has no __file__
Although this error isn't specific to extensions, extensions containing
a blender_manifest.toml but no __init__.py would import a module
with the __file__ set to None.
While there is logic to handle this case, it didn't account for modules
already in sys.modules with __file__ set to None.

From a user perspective enabling the extension silently failed raising
an error on the second attempt to enable.
2024-03-21 16:54:15 +11:00
..
freestyle Cleanup: spelling in comments 2023-09-05 11:04:27 +10:00
modules Fix addon_utils.enable() error when the module has no __file__ 2024-03-21 16:54:15 +11:00
presets Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
site Cleanup: spelling in comments, update dictionary 2023-09-03 21:35:07 +10:00
startup Fix extensions UI showing when developer extras are disabled 2024-03-21 12:22:28 +11:00
templates_osl License headers: remove GPL header from OSL template script 2023-08-04 13:24:15 +10:00
templates_py Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00