def register():
    from . import custom_props, custom_ui

    bpy.utils.register_class(V3D_OT_export_gltf)
    bpy.utils.register_class(V3D_OT_export_glb)

    custom_props.register()
    custom_ui.register()

    bpy.types.TOPBAR_MT_file_export.append(menuExportGLTF)
    bpy.types.TOPBAR_MT_file_export.append(menuExportGLB)

    if AppManagerConn.isAvailable(getRoot()):
        AppManagerConn.start(getRoot(), 'BLENDER', True)
    else:
        printLog('WARNING', 'Verge3D App Manager is not available!')
def loadHandler(dummy):

    printLog('INFO', 'Reexporting ' + V3D_OT_ReexportAll.currBlend)
    bpy.ops.export_scene.v3d_gltf(filepath=V3D_OT_ReexportAll.currGLTF)
    V3D_OT_ReexportAll.reexportNext()