5e24e06796
After discovering that sub-packages in Blender add-ons don't work (this seems to be very broken!), I replaced the parsers subpackage with a parsers.py module (almost as simple as concatenating the source files in the package). I may be removing this name-parsing system from ABX entirely, soon, possibly moving it into KitCAT.
43 lines
1.0 KiB
Python
43 lines
1.0 KiB
Python
|
|
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()
|
|
|