Files
Blender-Fange-Pipeline/Fange_Pipeline/__init__.py
T
2024-05-16 22:12:11 +02:00

48 lines
1.1 KiB
Python

import bpy
from .ui.export import GRAOU_PT_panel
from .operators.outline import ConfigBlendScene
from .operators.exports import ExportForFange
from .operators.misc import MakeBasicCollision
from .preference import GRAOU_AddonPreference
from .properties.main import FangeProperties
bl_info = {
'name': 'Fange Pipeline',
'description': 'Pipeline about the game project "Fange"',
'author': 'Graou Studio, Aurelien Vaillant',
'version': (0, 0, 1),
'blender': (4, 1, 0),
'doc_url': "",
'tracker_url': "",
'support': "COMMUNITY",
'category': 'Graou Studio',
}
modules_class = [
# Main Property
ExportForFange, MakeBasicCollision, ConfigBlendScene,
# UI
GRAOU_PT_panel,
# Preference
GRAOU_AddonPreference, FangeProperties
]
def register():
for cls in modules_class:
bpy.utils.register_class(cls)
bpy.types.Scene.graou_props = bpy.props.PointerProperty(type=FangeProperties)
def unregister():
for cls in reversed(modules_class):
bpy.utils.unregister_class(cls)
del bpy.types.Scene.graou_props
if __name__ == "__main__":
register()