1 # SPDX-FileCopyrightText: 2021-2023 Blender Foundation
3 # SPDX-License-Identifier: GPL-2.0-or-later
6 Pose Library based on the Asset Browser.
10 "name": "Pose Library",
11 "description": "Pose Library based on the asset system.",
12 "author": "Sybren A. Stüvel, Julian Eisel",
15 "location": "Asset Browser -> Animations, and 3D Viewport -> Animation panel",
16 "doc_url": "{BLENDER_MANUAL_URL}/animation/armatures/posing/editing/pose_library.html",
17 "support": "OFFICIAL",
18 "category": "Animation",
21 from typing
import List
, Tuple
23 _need_reload
= "operators" in locals()
24 from . import gui
, keymaps
, operators
, conversion
29 gui
= importlib
.reload(gui
)
30 keymaps
= importlib
.reload(keymaps
)
31 operators
= importlib
.reload(operators
)
32 conversion
= importlib
.reload(conversion
)
36 addon_keymaps
: List
[Tuple
[bpy
.types
.KeyMap
, bpy
.types
.KeyMapItem
]] = []
39 def register() -> None:
40 bpy
.types
.WindowManager
.poselib_previous_action
= bpy
.props
.PointerProperty(type=bpy
.types
.Action
)
47 def unregister() -> None:
50 operators
.unregister()
53 del bpy
.types
.WindowManager
.poselib_previous_action
54 except AttributeError: