Browse Source

Fix: Add "object_reference" to i/o ignore list

Joseph Brandenburg 9 months ago
parent
commit
05297a5393
1 changed files with 2 additions and 1 deletions
  1. 2 1
      i_o.py

+ 2 - 1
i_o.py

@@ -73,7 +73,8 @@ def export_to_json(trees, path="", write_file=True, only_selected=False):
                     "links", "nodes", "internal_links", "inputs", "outputs",
                     "__slots__", "dimensions", "type", "interface",
                     "library_weak_reference", "parsed_tree", "node_tree_updater",
-                    "asset_data", "preview", ] # blender asset stuff
+                    "asset_data", "preview",  # blender asset stuff
+                    "object_reference" ] # this one is here to hold on to widgets when appending
     # don't ignore: "bl_idname", "bl_label",
     # ignore the name, it's the dict - key for the node props
      # no that's stupid don't ignore the name good grief