diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-10-08 15:21:32 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-10-08 15:21:32 +0300 |
commit | e6e981e9d1f3a5523391a656a1363552285ad522 (patch) | |
tree | 1c9efdacef67ec24d3f6e7a78b20d386eedc6195 /pose_library/operators.py | |
parent | d920e6a3785f054ee306ba7712cd0cdafc3e02ce (diff) |
Pose Library: refresh dopesheet & 3D view when changing asset library
The Create Pose Asset (`POSELIB_OT_create_pose_asset`) operator stores
the created asset in the current blend file. To avoid confusion, its
poll function refuses the use of the operator when the asset browser is
showing a different asset library. This means that the panels containing
a button for this operator need to be refreshed whenever another asset
library is selected.
Diffstat (limited to 'pose_library/operators.py')
-rw-r--r-- | pose_library/operators.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pose_library/operators.py b/pose_library/operators.py index 9aa0333e..956a41a0 100644 --- a/pose_library/operators.py +++ b/pose_library/operators.py @@ -75,7 +75,8 @@ class POSELIB_OT_create_pose_asset(PoseAssetCreator, Operator): bl_idname = "poselib.create_pose_asset" bl_label = "Create Pose Asset" bl_description = ( - "Create a new Action that contains the pose of the selected bones, and mark it as Asset" + "Create a new Action that contains the pose of the selected bones, and mark it as Asset. " + "The asset will be stored in the current blend file" ) bl_options = {"REGISTER", "UNDO"} |