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-15 12:47:10 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2021-07-15 12:47:10 +0300
commit8ee458651039d6e2698ccca06d8e67dad355ab03 (patch)
treedc265285b98388fc211efb7ef9da48cd5ebd3a96
parent595d481456c59f02fcc177b0f8e09af241214480 (diff)
Pose library: show message when "Copy Pose As Asset" is pressedasset-browser-poselib
Show a message in the UI when "Copy Pose As Asset" was successful, to explain where the corresponding "paste" button can be found. Since the "copy" is asset-type specific, this one is located in the animation editor. However, the "paste" button is generic for any asset type, and thus it is located in the asset browser itself.
-rw-r--r--pose_library/operators.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pose_library/operators.py b/pose_library/operators.py
index 2dc46470..f06241d7 100644
--- a/pose_library/operators.py
+++ b/pose_library/operators.py
@@ -229,6 +229,7 @@ class POSELIB_OT_copy_as_asset(PoseAssetCreator, Operator):
)
asset_browser.tag_redraw(context.screen)
+ self.report({"INFO"}, "Pose Asset copied, use Paste As New Asset in any Asset Browser to paste")
return {"FINISHED"}
def save_datablock(self, action: Action) -> Path: