-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path__init__.py
35 lines (24 loc) · 876 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 .gpt_pkg import *
from .gpt_pnl import BLENDERGPT_PT_PANEL, props_initialization, props_clear
from .gpt_prf import BLENDERGPT_AddonPreferences
from .gpt_opt import BLENDERGPT_OT_DEL_ALL_MSG, BLENDERGPT_OT_DEL_MSG, BLENDERGPT_OT_GPT_CODE, BLENDERGPT_OT_SEND_MSG
bl_info = {
"name": "Blender GPT",
"author": "Ryvn (@hc-psy) (@@hao-chenglo2049)",
"description": "",
"blender": (2, 82, 0),
"version": (0, 0, 2),
"warning": "",
"category": "Object"
}
Classes = (BLENDERGPT_PT_PANEL, BLENDERGPT_OT_DEL_ALL_MSG, BLENDERGPT_OT_DEL_MSG,
BLENDERGPT_OT_GPT_CODE, BLENDERGPT_OT_SEND_MSG, BLENDERGPT_AddonPreferences)
def register():
for cls in Classes:
bpy.utils.register_class(cls)
props_initialization()
def unregister():
for cls in Classes:
bpy.utils.unregister_class(cls)
props_clear()