generated from stilobique/BlenderTemplate
4f539912eb
Make a Property Group for blender
47 lines
1.1 KiB
Python
47 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
|
|
|
|
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()
|