[Bf-blender-cvs] [e5e6c3b52c0] master: Fix T62576: The remaining two unported official add-ons: X3D and 3DS.

Bastien Montagne noreply at git.blender.org
Sat Mar 16 13:04:15 CET 2019


Commit: e5e6c3b52c0b651e1f301736e47a0c4379c616fa
Author: Bastien Montagne
Date:   Sat Mar 16 13:00:17 2019 +0100
Branches: master
https://developer.blender.org/rBe5e6c3b52c0b651e1f301736e47a0c4379c616fa

Fix T62576: The remaining two unported official add-ons: X3D and 3DS.

X3D has been (basically) ported in rBAe8da70ab73d2dd5ff46, and 3DS has
been downgraded to 'community' support, so we can get rid of that ugly
'slience warning' hack.

===================================================================

M	release/scripts/modules/addon_utils.py

===================================================================

diff --git a/release/scripts/modules/addon_utils.py b/release/scripts/modules/addon_utils.py
index ef5ec77a6c5..4e7c278f196 100644
--- a/release/scripts/modules/addon_utils.py
+++ b/release/scripts/modules/addon_utils.py
@@ -365,13 +365,6 @@ 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_scene_3ds",
-            "io_scene_x3d",
-        }:
-            return None
-
         try:
             if mod.bl_info.get("blender", (0, 0, 0)) < (2, 80, 0):
                 raise Exception(f"Add-on '{module_name:s}' has not been upgraded to 2.8, ignoring")



More information about the Bf-blender-cvs mailing list