|
|
@@ -6,8 +6,8 @@ dir_path = os.path.dirname(os.path.realpath(__file__))
|
|
|
|
|
|
def get_bl_addon_object(raise_error = False):
|
|
|
from bpy import context
|
|
|
- try_these_first = ['bl_ext.nodes_tools.mantis',
|
|
|
- 'bl_ext.repos.mantis', 'bl_ext.blender_modules_enabled.mantis',]
|
|
|
+ try_these_first = ['bl_ext.nodes_tools.mantis_beta',
|
|
|
+ 'bl_ext.repos.mantis_beta', 'bl_ext.blender_modules_enabled.mantis_beta',]
|
|
|
for mantis_key in try_these_first:
|
|
|
bl_mantis_addon = context.preferences.addons.get(mantis_key)
|
|
|
if bl_mantis_addon is not None: # chekc the addon AND the prefs
|
|
|
@@ -16,7 +16,7 @@ def get_bl_addon_object(raise_error = False):
|
|
|
# the prefs will be None if the addon is disabled.
|
|
|
else:
|
|
|
for k in context.preferences.addons.keys():
|
|
|
- if k.endswith("mantis"):
|
|
|
+ if k.endswith("mantis_beta"):
|
|
|
bl_mantis_addon = context.preferences.addons[k]
|
|
|
if bl_mantis_addon is not None:
|
|
|
if bl_mantis_addon.preferences is not None:
|