This commit is contained in:
2024-05-13 12:09:11 +08:00
parent 1990a16972
commit 5e8d12c564
5 changed files with 183 additions and 97 deletions

View File

@@ -1,7 +1,7 @@
import bpy
from .nodes import custom_nodes
from . import auto_load
from . import menus
bl_info = {
@@ -9,7 +9,7 @@ bl_info = {
"author": "Ma Nan",
"description": "",
"blender": (4, 0, 0),
"version": (0, 1, 0),
"version": (0, 1, 1),
"location": "File -> Import",
"warning": "",
"category": "Node"
@@ -20,6 +20,7 @@ auto_load.init()
def register():
auto_load.register()
menus.add()
bpy.types.Scene.bioxels_dir = bpy.props.StringProperty(
name="Bioxels Directory",
subtype='DIR_PATH',
@@ -28,7 +29,5 @@ def register():
def unregister():
try:
auto_load.unregister()
except RuntimeError:
pass
menus.remove()
auto_load.unregister()