Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-07-06 11:59:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-06 12:03:24 +0300
commit6379c7bd4743cead9121493a41fade42ec465a69 (patch)
treedadb52acfa2db3ec55fbe168fa00f7deb0c3a565 /release/scripts/modules/addon_utils.py
parent174a3348ab78796b671c25d2f09105a2470102d6 (diff)
Addons: silence warnings instead of disabling
Diffstat (limited to 'release/scripts/modules/addon_utils.py')
-rw-r--r--release/scripts/modules/addon_utils.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/release/scripts/modules/addon_utils.py b/release/scripts/modules/addon_utils.py
index c96acb002af..90f6dc665de 100644
--- a/release/scripts/modules/addon_utils.py
+++ b/release/scripts/modules/addon_utils.py
@@ -353,6 +353,20 @@ def enable(module_name, *, default_set=False, persistent=False, handle_error=Non
# 1.1) fail when add-on is too old
# This is a temporary 2.8x migration check, so we can manage addons that are supported.
+
+ # Silent default, we know these need updating.
+ if module_name in {
+ "io_anim_bvh",
+ "io_mesh_ply",
+ "io_mesh_stl",
+ "io_mesh_uv_layout",
+ "io_scene_3ds",
+ "io_scene_fbx",
+ "io_scene_obj",
+ "io_scene_x3d",
+ }:
+ return None
+
try:
print(mod.bl_info.get("blender", (0, 0, 0)))
if mod.bl_info.get("blender", (0, 0, 0)) < (2, 80, 0):