Prechádzať zdrojové kódy

v0.12.19 Fix: Windows missing preferences

Brandenburg 2 mesiacov pred
rodič
commit
3bd60c2a1d
3 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 2 2
      __init__.py
  2. 1 1
      blender_manifest.toml
  3. 1 1
      preferences.py

+ 2 - 2
__init__.py

@@ -18,7 +18,7 @@ from .utilities import prRed
 
 MANTIS_VERSION_MAJOR=0
 MANTIS_VERSION_MINOR=12
-MANTIS_VERSION_SUB=18
+MANTIS_VERSION_SUB=19
 
 classLists = [module.TellClasses() for module in [
  link_nodes_ui,
@@ -434,4 +434,4 @@ def unregister():
     
     for km, kmi in addon_keymaps:
         km.keymap_items.remove(kmi)
-    addon_keymaps.clear()
+    addon_keymaps.clear()

+ 1 - 1
blender_manifest.toml

@@ -3,7 +3,7 @@ schema_version = "1.0.0"
 # Example of manifest file for a Blender extension
 # Change the values according to your extension
 id = "mantis"
-version = "0.12.18"
+version = "0.12.19"
 name = "Mantis"
 tagline = "Mantis is a rigging nodes toolkit"
 maintainer = "Nodespaghetti <josephbburg@protonmail.com>"

+ 1 - 1
preferences.py

@@ -6,7 +6,7 @@ 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.repos.mantis', 'bl_ext.blender_modules_enabled.mantis']
+    try_these_first = ['bl_ext.repos.mantis', 'bl_ext.blender_modules_enabled.mantis', 'bl_ext.nodes_tools.mantis']
     for mantis_key in try_these_first:
         bl_mantis_addon = context.preferences.addons.get(mantis_key)
         if bl_mantis_addon: break