diff options
author | Pullusb <bernou.samuel@gmail.com> | 2020-10-02 15:20:26 +0300 |
---|---|---|
committer | Pullusb <bernou.samuel@gmail.com> | 2020-10-02 15:20:26 +0300 |
commit | 9da77e9af4cbf4d91d043c0a670b6e507531b67d (patch) | |
tree | 92d60db0435585ece5e9593f36db427bf2335859 /greasepencil_tools/__init__.py | |
parent | 861eb3e249aef55337bf437edb2220e6cb1865e5 (diff) |
greasepencil-addon first push
Diffstat (limited to 'greasepencil_tools/__init__.py')
-rw-r--r-- | greasepencil_tools/__init__.py | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/greasepencil_tools/__init__.py b/greasepencil_tools/__init__.py new file mode 100644 index 00000000..bad7f2e7 --- /dev/null +++ b/greasepencil_tools/__init__.py @@ -0,0 +1,63 @@ +# ##### BEGIN GPL LICENSE BLOCK ##### +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# ##### END GPL LICENSE BLOCK ##### + + +bl_info = { +"name": "Grease Pencil Tools", +"description": "Pack of tools for Grease pencil drawing", +"author": "Samuel Bernou, Antonio Vazquez, Daniel Martinez Lara, Matias Mendiola", +"version": (1, 1, 2), +"blender": (2, 91, 0), +"location": "Sidebar > Grease pencil > Grease pencil", +"warning": "", +"doc_url": "https://docs.blender.org/manual/en/dev/addons/object/grease_pencil_tools.html", +"tracker_url": "https://github.com/Pullusb/greasepencil-addon/issues", +"category": "Object", +"support": "OFFICIAL", +} + +import bpy +from . import (prefs, + box_deform, + line_reshape, + rotate_canvas, + import_brush_pack, + ui_panels, + ) + +def register(): + prefs.register() + box_deform.register() + line_reshape.register() + rotate_canvas.register() + import_brush_pack.register() + ui_panels.register() + + ## update tab name with update in pref file (passing addon_prefs) + prefs.update_panel(prefs.get_addon_prefs(), bpy.context) + +def unregister(): + ui_panels.unregister() + import_brush_pack.unregister() + rotate_canvas.unregister() + box_deform.unregister() + line_reshape.unregister() + prefs.unregister() + +if __name__ == "__main__": + register()
\ No newline at end of file |