ABX/abx/__init__.py

43 lines
1.0 KiB
Python
Raw Normal View History

bl_info = {
"name": "ABX",
"author": "Terry Hancock / Lunatics.TV Project / Anansi Spaceworks",
"version": (0, 2, 6),
"blender": (2, 79, 0),
"location": "SpaceBar Search -> ABX",
"description": "Anansi Studio Extensions for Blender",
"warning": "",
"wiki_url": "",
"tracker_url": "",
"category": "Object",
}
blender_present = False
try:
# These are protected so we can read the add-on metadata from my
# management scripts, which run in the O/S standard Python 3
import bpy, bpy.utils, bpy.types
blender_present = True
except ImportError:
print("Blender Add-On 'ABX' requires the Blender Python environment to run.")
if blender_present:
from . import abx_ui
BlendFile = abx_ui.BlendFile
def register():
abx_ui.register()
#bpy.utils.register_module(__name__)
def unregister():
abx_ui.unregister()
#bpy.utils.unregister_module(__name__)
if __name__ == "__main__":
register()