-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
39 lines (31 loc) · 1.17 KB
/
Copy path__init__.py
File metadata and controls
39 lines (31 loc) · 1.17 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
"""
Node Runner - Import & export shader nodes as shareable strings.
Serializes Blender shader node trees to compressed, base64-encoded
strings that can be shared via text, comments, or documentation, and
browses node setups published in git-backed library repositories.
"""
bl_info = {
"name": "Node Runner",
"description": "Import and export nodes as strings",
"author": "Tonis",
"version": (1, 5, 0),
"blender": (4, 5, 0),
"category": "Node",
}
def register():
"""Register all operators, panels and menu entries."""
from . import preferences, operators, node_data, library_ui
node_data.refresh()
# Preferences first: the repository PropertyGroup they own is referenced
# by a CollectionProperty, which must be registered before its type.
preferences.register()
operators.register()
library_ui.register()
def unregister():
"""Unregister all operators, panels and menu entries."""
from . import preferences, operators, library_ui
# Stops the library's timer and worker results first, so nothing fires
# into a half-unloaded module.
library_ui.unregister()
operators.unregister()
preferences.unregister()