-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.py
More file actions
52 lines (36 loc) · 1.37 KB
/
__init__.py
File metadata and controls
52 lines (36 loc) · 1.37 KB
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
43
44
45
46
47
48
49
50
51
52
# SPDX-FileCopyrightText: 2024-2025 Shape Keys Widget Authors
# SPDX-License-Identifier: GPL-3.0
bl_info = {
"name": "Shape Keys Widget",
"description": "Visual UI for Shape Key selection in the 3D View",
"author": "Inês Almeida",
"warning": "WIP development, not released for general usage yet",
"version": (0, 2, 2),
"blender": (3, 6, 0),
"location": "View3D > Properties > Shape Keys Widget",
"doc_url": "https://github.com/britalmeida/shape_keys_widget",
"tracker_url": "https://github.com/britalmeida/shape_keys_widget/issues",
"category": "Rigging",
}
# ID that Blender uses to register the add-on preferences. Expected to be:
# (legacy add-on) shape_keys_widget
# (extension) bl_ext.blender_org.shape_keys_widget
# or instead of 'blender_org' a user/dev defined string.
ADDON_ID = __package__
import logging
log = logging.getLogger(__name__)
if "src" in locals():
import importlib
importlib.reload(src)
else:
from . import src
def register():
log.info("------Registering Add-on---------------------------")
src.register()
log.info("------Done Registering-----------------------------")
def unregister():
log.info("------Unregistering Add-on-------------------------")
src.unregister()
log.info("------Done Unregistering---------------------------")
if __name__ == "__main__":
register()