|
| 1 | +# ##### BEGIN GPL LICENSE BLOCK ##### |
| 2 | +# |
| 3 | +# Copyright (c) 2020 Elie Michel |
| 4 | +# |
| 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. |
| 9 | +# |
| 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. |
| 14 | +# |
| 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. |
| 18 | +# |
| 19 | +# ##### END GPL LICENSE BLOCK ##### |
| 20 | + |
| 21 | +bl_info = { |
| 22 | + "name": "ImGui Examples", |
| 23 | + "author": "Élie Michel <elie.michel@exppad.com>", |
| 24 | + "version": (1, 0, 0), |
| 25 | + "blender": (2, 90, 0), |
| 26 | + "location": "View3D > Overlays", |
| 27 | + "description": "Examples of how to use ImGui in Blender", |
| 28 | + "warning": "", |
| 29 | + "wiki_url": "", |
| 30 | + "tracker_url": "https://github.com/eliemichel/BlenderImgui", |
| 31 | + "support": "COMMUNITY", |
| 32 | + "category": "3D view", |
| 33 | +} |
| 34 | + |
| 35 | +# ------------------------------------------------------------------- |
| 36 | + |
| 37 | +import bpy |
| 38 | + |
| 39 | +from . import properties |
| 40 | +from . import operators |
| 41 | +from . import panels |
| 42 | +from . import overlays |
| 43 | + |
| 44 | +submodules = ( |
| 45 | + properties, |
| 46 | + operators, |
| 47 | + panels, |
| 48 | + overlays, |
| 49 | +) |
| 50 | + |
| 51 | +def register(): |
| 52 | + for m in submodules: |
| 53 | + m.register() |
| 54 | + |
| 55 | +def unregister(): |
| 56 | + for m in submodules[::-1]: |
| 57 | + m.unregister() |
| 58 | + |
| 59 | +loaded = True |
0 commit comments