-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path__init__.py
More file actions
37 lines (32 loc) · 906 Bytes
/
Copy path__init__.py
File metadata and controls
37 lines (32 loc) · 906 Bytes
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
bl_info = {
"name": "Render Manager",
"author": "BlenderBob, TinkerBoi, MJ",
"version": (3, 0, 11),
"blender": (4, 2, 0),
"description": "Manage render visibility, passes, collections and node-based file outputs",
"warning": "",
"location": "Properties > View Layer",
"wiki_url": "",
"category": "Render",
}
import bpy
from . import LayerManager
from . import CollectionManager
modules = [
LayerManager,
CollectionManager,
]
def register():
for module in modules:
try:
module.register()
except Exception as e:
print(f"Error registering module {module.__name__}: {e}")
def unregister():
for module in reversed(modules):
try:
module.unregister()
except Exception as e:
print(f"Error unregistering module {module.__name__}: {e}")
if __name__ == "__main__":
register()