3 # ##### BEGIN GPL LICENSE BLOCK #####
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 # ##### END GPL LICENSE BLOCK #####
21 __author__
= "Nutti <nutti.metro@gmail.com>"
22 __status__
= "production"
24 __date__
= "23 Oct 2020"
29 "author": "Nutti, Mifth, Jace Priester, kgeogeo, mem, imdjs"
30 "Keith (Wahooney) Boshoff, McBuff, MaxRobinot, "
31 "Alexander Milovsky, Dusan Stevanovic, MatthiasThDs",
33 "blender": (2, 80, 0),
34 "location": "See Add-ons Preferences",
35 "description": "UV Toolset. See Add-ons Preferences for details",
37 "support": "COMMUNITY",
38 "wiki_url": "https://docs.blender.org/manual/en/dev/addons/"
40 "doc_url": "{BLENDER_MANUAL_URL}/addons/uv/magic_uv.html",
41 "tracker_url": "https://github.com/nutti/Magic-UV",
48 importlib
.reload(common
)
49 importlib
.reload(utils
)
50 utils
.bl_class_registry
.BlClassRegistry
.cleanup()
53 importlib
.reload(properites
)
54 importlib
.reload(preferences
)
55 importlib
.reload(updater
)
62 from . import properites
63 from . import preferences
70 updater
.register_updater(bl_info
)
72 utils
.bl_class_registry
.BlClassRegistry
.register()
73 properites
.init_props(bpy
.types
.Scene
)
74 user_prefs
= utils
.compatibility
.get_user_preferences(bpy
.context
)
75 if user_prefs
.addons
['magic_uv'].preferences
.enable_builtin_menu
:
76 preferences
.add_builtin_menu()
80 preferences
.remove_builtin_menu()
81 properites
.clear_props(bpy
.types
.Scene
)
82 utils
.bl_class_registry
.BlClassRegistry
.unregister()
85 if __name__
== "__main__":