Переглянути джерело

Fix: Custom Properties not Library Overridable

Joseph Brandenburg 1 місяць тому
батько
коміт
60a0c8b177
3 змінених файлів з 3 додано та 2 видалено
  1. 1 1
      __init__.py
  2. 1 1
      blender_manifest.toml
  3. 1 0
      xForm_nodes.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=26
 
 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.26"
 name = "Mantis"
 tagline = "Mantis is a rigging nodes toolkit"
 maintainer = "Nodespaghetti <josephbburg@protonmail.com>"

+ 1 - 0
xForm_nodes.py

@@ -551,6 +551,7 @@ class xFormBone(xFormNode):
                     soft_max = int(inp.soft_max),)
             elif type(value) == bool:
                 ui_data.update() # TODO I can't figure out what the update function expects because it isn't documented
+            pb.property_overridable_library_set(f"[\"{name}\"]", True)
         
         if (pb.is_in_ik_chain):
             # this  props_socket thing wasn't really meant to work here but it does, neat