Extensions: avoid redundant conversion the new manifest to bl_info

Converting the manifest TOML to the bl_info ran before checking
if the add-on was legacy.
This commit is contained in:
Campbell Barton
2024-06-02 22:58:48 +10:00
parent ab5f8d9f3a
commit 5e462135f3

View File

@@ -131,12 +131,12 @@ def extensions_panel_draw_legacy_addons(
user_addon_paths = []
for mod in addon_modules:
bl_info = addon_utils.module_bl_info(mod)
module_name = mod.__name__
is_extension = addon_utils.check_extension(module_name)
if is_extension:
continue
bl_info = addon_utils.module_bl_info(mod)
if search_lower and (
not pkg_info_check_exclude_filter_ex(
bl_info["name"],