Sun Position: remove show_daylight_savings preference
[blender-addons.git] / amaranth / __init__.py
blob29ef6150713e412d4c70ec48becd062a0738274a
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 """
3 Amaranth
5 Using Blender every day, you get to change little things on it to speedup
6 your workflow. The problem is when you have to switch computers with
7 somebody else's Blender, it sucks.
8 That's the main reason behind Amaranth. I ported all sort of little changes
9 I find useful into this addon.
11 What is it about? Anything, whatever I think it can speedup workflow,
12 I'll try to add it. Enjoy <3
13 """
15 import sys
17 # import amaranth's modules
19 # NOTE: avoid local imports whenever possible!
20 # Thanks to Christopher Crouzet for let me know about this.
21 # http://stackoverflow.com/questions/13392038/python-making-a-class-variable-static-even-when-a-module-is-imported-in-differe
23 from amaranth import prefs
25 from amaranth.modeling import symmetry_tools
27 from amaranth.scene import (
28 refresh,
29 save_reload,
30 current_blend,
31 stats,
32 goto_library,
33 debug,
34 material_remove_unassigned,
37 from amaranth.node_editor import (
38 id_panel,
39 display_image,
40 templates,
41 simplify_nodes,
42 node_stats,
43 normal_node,
46 from amaranth.render import (
47 border_camera,
48 meshlight_add,
49 meshlight_select,
50 passepartout,
51 final_resolution,
52 samples_scene,
53 render_output_z,
56 from amaranth.animation import (
57 time_extra_info,
58 frame_current,
59 motion_paths,
60 jump_frames,
63 from amaranth.misc import (
64 color_management,
65 dupli_group_id,
66 toggle_wire,
67 sequencer_extra_info,
71 # register the addon + modules found in globals()
72 bl_info = {
73 "name": "Amaranth Toolset",
74 "author": "Pablo Vazquez, Bassam Kurdali, Sergey Sharybin, Lukas Tönne, Cesar Saez, CansecoGPC",
75 "version": (1, 0, 20),
76 "blender": (3, 2, 0),
77 "location": "Everywhere!",
78 "description": "A collection of tools and settings to improve productivity",
79 "warning": "",
80 "doc_url": "{BLENDER_MANUAL_URL}/addons/interface/amaranth.html",
81 "category": "Interface",
85 def _call_globals(attr_name):
86 for m in globals().values():
87 if hasattr(m, attr_name):
88 getattr(m, attr_name)()
91 def register():
92 _call_globals("register")
95 def unregister():
96 _call_globals("unregister")