Kaynağa Gözat

v0.12.18 and fix: add fake user correctly in autoload

Joseph Brandenburg 2 ay önce
ebeveyn
işleme
cf786d2727
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 2 2
      __init__.py
  2. 1 1
      blender_manifest.toml

+ 2 - 2
__init__.py

@@ -18,7 +18,7 @@ from .utilities import prRed
 
 MANTIS_VERSION_MAJOR=0
 MANTIS_VERSION_MINOR=12
-MANTIS_VERSION_SUB=17
+MANTIS_VERSION_SUB=18
 
 classLists = [module.TellClasses() for module in [
  link_nodes_ui,
@@ -348,7 +348,7 @@ def autoload_components(filename):
             # let's get the node trees and assign a fake user
             for tree_name in json_data.keys():
                 tree = data.node_groups.get(tree_name)
-                tree.fake_user = True
+                tree.use_fake_user = True
             
     # now we need to unlink the collections, and add fake users to them
     curves_collection = get_default_collection(collection_type="CURVE")

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