-
Notifications
You must be signed in to change notification settings - Fork 1
/
__init__.py
42 lines (34 loc) · 945 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
bl_info = {
"name" : "SUT - Sandbox Unreal Tools",
"author" : "ExoMemphiz & Viter",
"description" : "Faster Greyboxing / Prototyping workflow for Unreal Engine & Blender",
"blender" : (3, 1, 0),
"version" : (0, 1, 0),
"location" : "View3D",
"warning" : "",
"category" : "Import-Export"
}
from . operator.sut_op import Sut_OT_Operator
from . panel.sut_properties import SutProperties
from . panel.sut_panel import Sut_PT_Panel
from bpy.utils import (
register_class,
unregister_class
)
from bpy.props import PointerProperty
from bpy.types import Scene
classes = (
Sut_OT_Operator,
Sut_PT_Panel,
SutProperties
)
def register():
for cls in classes:
register_class(cls)
Scene.sut_tool = PointerProperty(type=SutProperties)
def unregister():
for cls in reversed(classes):
unregister_class(cls)
del Scene.sut_tool
if __name__ == "__main__":
register()