Fix duplicate shape key import when the FBX connections are duplicated
[blender-addons.git] / amaranth / __init__.py
blob5fb8c80c94a2493a28d1abf3a40b3076fd9fc11d
1 # SPDX-FileCopyrightText: 2019-2023 Blender Foundation
3 # SPDX-License-Identifier: GPL-2.0-or-later
5 """
6 Amaranth
8 Using Blender every day, you get to change little things on it to speedup
9 your workflow. The problem is when you have to switch computers with
10 somebody else's Blender, it sucks.
11 That's the main reason behind Amaranth. I ported all sort of little changes
12 I find useful into this addon.
14 What is it about? Anything, whatever I think it can speedup workflow,
15 I'll try to add it. Enjoy <3
16 """
18 import sys
20 # import amaranth's modules
22 # NOTE: avoid local imports whenever possible!
23 # Thanks to Christopher Crouzet for let me know about this.
24 # http://stackoverflow.com/questions/13392038/python-making-a-class-variable-static-even-when-a-module-is-imported-in-differe
26 from amaranth import prefs
28 from amaranth.modeling import symmetry_tools
30 from amaranth.scene import (
31 refresh,
32 save_reload,
33 current_blend,
34 stats,
35 goto_library,
36 debug,
37 material_remove_unassigned,
40 from amaranth.node_editor import (
41 id_panel,
42 display_image,
43 templates,
44 simplify_nodes,
45 node_stats,
46 normal_node,
49 from amaranth.render import (
50 border_camera,
51 meshlight_add,
52 meshlight_select,
53 passepartout,
54 final_resolution,
55 samples_scene,
58 from amaranth.animation import (
59 time_extra_info,
60 frame_current,
61 motion_paths,
62 jump_frames,
65 from amaranth.misc import (
66 color_management,
67 dupli_group_id,
68 toggle_wire,
69 sequencer_extra_info,
73 # register the addon + modules found in globals()
74 bl_info = {
75 "name": "Amaranth Toolset",
76 "author": "Pablo Vazquez, Bassam Kurdali, Sergey Sharybin, Lukas Tönne, Cesar Saez, CansecoGPC",
77 "version": (1, 0, 20),
78 "blender": (3, 2, 0),
79 "location": "Everywhere!",
80 "description": "A collection of tools and settings to improve productivity",
81 "warning": "",
82 "doc_url": "{BLENDER_MANUAL_URL}/addons/interface/amaranth.html",
83 "category": "Interface",
87 def _call_globals(attr_name):
88 for m in globals().values():
89 if hasattr(m, attr_name):
90 getattr(m, attr_name)()
93 def register():
94 _call_globals("register")
97 def unregister():
98 _call_globals("unregister")