Skip to content

Commit

Permalink
Reverting Multi-file changes
Browse files Browse the repository at this point in the history
Still not sure how I ever got a successful test out of that release I uploaded, it definitely did not work.
For now I'm setting it back to a single .py file so you will need to unzip it to install.
  • Loading branch information
SpectralVectors authored Jul 1, 2021
1 parent ec08483 commit e4d358a
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions Mindmapper.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bl_info = {
"name": "Mindmapper",
"name": "Mind Mapper",
"author": "Spectral Vectors",
"version": (0, 8, 4),
"version": (0, 8, 3),
"blender": (2, 90, 0),
"location": "Mind Mapper - Custom Node Editor",
"description": "A custom, node based flow chart for text",
Expand All @@ -14,7 +14,7 @@
from bpy.types import NodeTree, Node, NodeSocket, NodeReroute, NodeFrame

class MindMapperPreferences(bpy.types.AddonPreferences):
bl_idname = __package__
bl_idname = __name__

ShowInNode: bpy.props.BoolProperty(
name='Show Shortcuts in Node (Global)',
Expand Down Expand Up @@ -316,3 +316,31 @@ def poll(cls, context):
NodeItem("NodeFrame"),
]),
]

classes = (
MindmapTree,
MindmapNode,
MindMapperPreferences,
MindmapNodeSocket,
UpdateNodes,
)


def register():
from bpy.utils import register_class
for cls in classes:
register_class(cls)

nodeitems_utils.register_node_categories('Mindmap', node_categories)


def unregister():
nodeitems_utils.unregister_node_categories('Mindmap')

from bpy.utils import unregister_class
for cls in reversed(classes):
unregister_class(cls)


if __name__ == "__main__":
register()

0 comments on commit e4d358a

Please sign in to comment.