Просмотр исходного кода

Actually fix link crash in 4.4.0

>= not > and not <
so dumb
Joseph Brandenburg 6 месяцев назад
Родитель
Сommit
8d93b7b87d
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      __init__.py
  2. 1 1
      base_definitions.py
  3. 1 1
      blender_manifest.toml

+ 1 - 1
__init__.py

@@ -16,7 +16,7 @@ from .utilities import prRed
 
 MANTIS_VERSION_MAJOR=0
 MANTIS_VERSION_MINOR=10
-MANTIS_VERSION_SUB=3
+MANTIS_VERSION_SUB=4
 
 classLists = [module.TellClasses() for module in [
  link_definitions,

+ 1 - 1
base_definitions.py

@@ -182,7 +182,7 @@ class MantisUINode:
             raise e
 
     def insert_link(self, link):
-        if (bpy.app.version > (4, 4, 0)):
+        if (bpy.app.version >= (4, 4, 0)):
             return # this causes a crash due to a bug.
         context = bpy.context
         if context.space_data:

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