ソースを参照

v0.12.9
this fixes a versioning problem for inherit color
fixes color/collection nodes not working in schema

Joseph Brandenburg 3 ヶ月 前
コミット
d7ae379d9b
3 ファイル変更4 行追加3 行削除
  1. 1 1
      __init__.py
  2. 1 1
      blender_manifest.toml
  3. 2 1
      versioning.py

+ 1 - 1
__init__.py

@@ -18,7 +18,7 @@ from .utilities import prRed
 
 MANTIS_VERSION_MAJOR=0
 MANTIS_VERSION_MINOR=12
-MANTIS_VERSION_SUB=8
+MANTIS_VERSION_SUB=9
 
 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.8"
+version = "0.12.9"
 name = "Mantis"
 tagline = "Mantis is a rigging nodes toolkit"
 maintainer = "Nodespaghetti <josephbburg@protonmail.com>"

+ 2 - 1
versioning.py

@@ -155,7 +155,8 @@ def up_0_12_1_add_inherit_color(*args, **kwargs):
     current_sub_version = node.id_data.mantis_version[2]
     if  current_major_version > 0: return# major version must be 0
     if current_minor_version > 12: return# minor version must be 12 or less
-    if current_minor_version == 12 and current_sub_version < 1: return # sub version must be 0
+    if current_minor_version == 12 and current_sub_version < 9: return # sub version must be 8 or less
+    # I am having it do 8 or less because there was a bug in this function prior to 9
     # sub version doesn't matter since any subversion of 11 should trigger this task
     prPurple(f"Adding \"Inherit Color\" socket to {node.name}")
     try: