Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2021-07-19 16:52:36 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2021-07-19 16:52:36 +0300
commit756aa930b12bbb16e5ac75b7c9034e36ed61f730 (patch)
treec348c9339e82da8abdc150944ba1d1dcc135aac6
parent9791dfef7f73f20a1b8d4bbeac638accc71ce8e1 (diff)
Pose Library: add category to `DOPESHEET_PT_asset_panel` panel
Add `bl_category` to the animation editor panel of the pose library. This doesn't change anything in the GUI, but it does avoid the warning that no category was set. No functional changes.
-rw-r--r--pose_library/gui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pose_library/gui.py b/pose_library/gui.py
index cad1524e..8c9c6819 100644
--- a/pose_library/gui.py
+++ b/pose_library/gui.py
@@ -167,6 +167,7 @@ class DOPESHEET_PT_asset_panel(Panel):
bl_space_type = "DOPESHEET_EDITOR"
bl_region_type = "UI"
bl_label = "Create Pose Asset"
+ bl_category = "Pose Library"
@classmethod
def poll(cls, context: Context) -> bool: