mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
PyTests: do not try to load non-2.8-ready add-ons.
This commit is contained in:
parent
d6f9379149
commit
098f75897e
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ def _init_addon_blacklist():
|
|||
# netrender has known problems re-registering
|
||||
BLACKLIST_ADDONS.add("netrender")
|
||||
|
||||
for mod in addon_utils.modules():
|
||||
if addon_utils.module_bl_info(mod)['blender'] < (2, 80, 0):
|
||||
BLACKLIST_ADDONS.add(mod.__name__)
|
||||
|
||||
|
||||
def addon_modules_sorted():
|
||||
modules = addon_utils.modules({})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue