# 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 3 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 # MERCHANTIBILITY 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, see . bl_info = { "name": "GLBTextureTools", "author": "Lorenz Wieseke", "description": "", "blender": (4, 0, 0), "version": (0,1,5), "location": "3DView > Properties (N -KEY) > GLB Texture Tools", "warning": "", "wiki_url": "https://govie-editor.de/help/glb-texture-tools/", "tracker_url": "https://github.com/LorenzWieseke/GLBTextureTools/issues", "category": "Generic" } import bpy from .Functions import gui_functions from .Functions import image_functions from . import auto_load auto_load.init() classes = auto_load.init() def register(): auto_load.register() bpy.app.handlers.depsgraph_update_post.clear() bpy.app.handlers.depsgraph_update_post.append(gui_functions.update_on_selection) bpy.app.handlers.load_post.append(gui_functions.init_values) bpy.app.handlers.save_pre.append(image_functions.save_images) def unregister(): auto_load.unregister() bpy.app.handlers.depsgraph_update_post.clear() bpy.app.handlers.load_post.clear() bpy.app.handlers.save_pre.clear()