-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
35 lines (27 loc) · 910 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
import bpy
from .properties import QuickBakeToolPropertyGroup
from .op import QuickBake_OT_bake
from .panel import QuickBake_PT_main
bl_info = {
"name": "Quick Bake",
"author": "Thomas Harrison",
"description": "",
"blender": (2, 80, 0),
"version": (0, 0, 1),
"location": "",
"warning": "",
"category": "Render"
}
def register():
bpy.utils.register_class(QuickBake_OT_bake)
bpy.utils.register_class(QuickBake_PT_main)
bpy.utils.register_class(QuickBakeToolPropertyGroup)
bpy.types.Scene.QuickBakeToolPropertyGroup = bpy.props.PointerProperty(
type=QuickBakeToolPropertyGroup)
def unregister():
bpy.utils.unregister_class(QuickBake_OT_bake)
bpy.utils.unregister_class(QuickBake_PT_main)
bpy.utils.unregister_class(QuickBakeToolPropertyGroup)
del bpy.types.Scene.QuickBakeToolPropertyGroup
if __name__ == "__main__":
register()