-
Notifications
You must be signed in to change notification settings - Fork 6
/
__init__.py
31 lines (23 loc) · 730 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
bl_info = {
"name": "Discord Rich Presence for Blender",
"author": "Woeful_Wolf",
"version": (0, 3, 0),
"blender": (2, 80, 0),
"location": "None",
"description": "Discord Rich Presence for Blender",
"category": "System"}
import bpy
from bpy.props import StringProperty, BoolProperty, EnumProperty
from . import main_blender_rpc
class blender_rpc(bpy.types.Operator):
'''Discord Rich Presence for Blender'''
bl_idname = "system.blender_rpc"
bl_label = "Blender RPC"
bl_options = {'PRESET'}
main_blender_rpc.main()
def register():
bpy.utils.register_class(blender_rpc)
def unregister():
bpy.utils.unregister_class(blender_rpc)
if __name__ == '__main__':
register()