-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path__init__.py
40 lines (31 loc) · 1.02 KB
/
__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
36
37
38
39
40
# Nikita Akimov
from .addon import Addon
from . import wire_ops
from . import wire_panel
from . import wire_preferences
bl_info = {
'name': 'wire',
'category': 'Render',
'author': 'Nikita Akimov',
'version': (1, 1, 0),
'blender': (2, 80, 0),
'location': 'N-panel - Wire tab',
'wiki_url': 'https://b3d.interplanety.org/en/blender-add-on-wire/',
'tracker_url': 'https://b3d.interplanety.org/en/blender-add-on-wire/',
'description': 'Render with wireframe'
}
def register():
if not Addon.dev_mode():
wire_ops.register()
wire_panel.register()
wire_preferences.register()
else:
print('It seems you are trying to use the dev version of the ' + bl_info['name'] + ' add-on. It may work not properly. Please download and use the release version!')
def unregister():
if not Addon.dev_mode():
wire_preferences.unregister()
wire_panel.unregister()
wire_ops.unregister()
if __name__ == '__main__':
register()