Browse Source

Removing prints and downgrading version

because the previous commit seems to work
I'm downgrading because I haven't really done anything
and any change in the number triggers an update
shouldn't matter.
Joseph Brandenburg 1 month ago
parent
commit
ac15ce7323
3 changed files with 2 additions and 5 deletions
  1. 1 1
      __init__.py
  2. 1 1
      blender_manifest.toml
  3. 0 3
      preferences.py

+ 1 - 1
__init__.py

@@ -18,7 +18,7 @@ from .utilities import prRed
 
 MANTIS_VERSION_MAJOR=0
 MANTIS_VERSION_MINOR=12
-MANTIS_VERSION_SUB=25
+MANTIS_VERSION_SUB=24
 
 classLists = [module.TellClasses() for module in [
  link_nodes_ui,

+ 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.25"
+version = "0.12.24"
 name = "Mantis"
 tagline = "Mantis is a rigging nodes toolkit"
 maintainer = "Nodespaghetti <josephbburg@protonmail.com>"

+ 0 - 3
preferences.py

@@ -8,13 +8,10 @@ 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',]
-    print (context.preferences.addons.keys())
     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
-            print (f"Found Mantis: {mantis_key}")
             if bl_mantis_addon.preferences is not None:
-                print (f"Found Mantis preferences: {mantis_key}")
                 break
             # the prefs will be None if the addon is disabled.
     else: