Files
Blender-Fange-Pipeline/Fange_Pipeline/__init__.py
T

55 lines
1.4 KiB
Python

import bpy
# UI and Interface
from .ui.asset import GRAOU_PT_asset
from .ui.export import GRAOU_PT_export
from .ui.icon import GRAOU_PT_thumbnail
from .ui.setup import GRAOU_PT_setup
# All operators
from .operators.exports import ExportForFange
from .operators.outline import ConfigBlendScene
from .operators.misc import MakeBasicCollision
from .operators.lighting import ConfigLighting
# Preferences and properties
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 operators property
ExportForFange, MakeBasicCollision, ConfigBlendScene, ConfigLighting,
# UI
GRAOU_PT_asset, GRAOU_PT_export, GRAOU_PT_thumbnail, GRAOU_PT_setup,
# 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()