PyTests: do not try to load non-2.8-ready add-ons.
This commit is contained in:
parent
d6f9379149
commit
098f75897e
|
@ -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…
Reference in New Issue