forked from Project-StudioQ/camera_extends
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcamera.py
38 lines (29 loc) · 845 Bytes
/
camera.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
import bpy
from . import overScan
from . import tiltshift
from . import draw_ui
# -----------------------------------------------------------------------------
# 登録クラス名のリスト
classes = (
tiltshift.QANIM_OT_tiltshift_vertical_auto_detection,
tiltshift.QANIM_OT_tiltshift_horizontal_auto_detection,
overScan.QANIM_OT_overscan_reset,
overScan.QANIM_OT_overscan_run,
draw_ui.QANIM_PT_overscan,
)
def register():
''' クラス登録
'''
for i in classes:
bpy.utils.register_class(i)
overScan._initialized()
tiltshift._initialized()
draw_ui._initialized()
def unregister():
''' クラス登録解除
'''
for i in classes:
bpy.utils.unregister_class(i)
overScan._deinitialized( )
tiltshift._deinitialized( )
draw_ui._deinitialized()