Export_3ds: Added distance cue chunk export
[blender-addons.git] / greasepencil_tools / __init__.py
blobe3c7f5010a07d1ea2ab2e5325c7ac8282e58663f
1 # SPDX-FileCopyrightText: 2020-2023 Blender Foundation
3 # SPDX-License-Identifier: GPL-2.0-or-later
5 bl_info = {
6 "name": "Grease Pencil Tools",
7 "description": "Extra tools for Grease Pencil",
8 "author": "Samuel Bernou, Antonio Vazquez, Daniel Martinez Lara, Matias Mendiola",
9 "version": (1, 8, 3),
10 "blender": (3, 0, 0),
11 "location": "Sidebar > Grease Pencil > Grease Pencil Tools",
12 "warning": "",
13 "doc_url": "{BLENDER_MANUAL_URL}/addons/object/greasepencil_tools.html",
14 "tracker_url": "https://github.com/Pullusb/greasepencil-addon/issues",
15 "category": "Object",
16 "support": "COMMUNITY",
19 import bpy
20 from . import (prefs,
21 box_deform,
22 line_reshape,
23 rotate_canvas,
24 layer_navigator,
25 timeline_scrub,
26 draw_tools,
27 import_brush_pack,
28 ui_panels,
31 modules = (
32 prefs,
33 box_deform,
34 line_reshape,
35 rotate_canvas,
36 layer_navigator,
37 timeline_scrub,
38 draw_tools,
39 import_brush_pack,
40 ui_panels,
43 def register():
44 if bpy.app.background:
45 return
47 for mod in modules:
48 mod.register()
50 ## Update tab name with update in pref file (passing addon_prefs)
51 prefs.update_panel(prefs.get_addon_prefs(), bpy.context)
53 def unregister():
54 if bpy.app.background:
55 return
57 for mod in modules:
58 mod.unregister()
60 if __name__ == "__main__":
61 register()