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@blender.org>2021-10-19 19:20:49 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-10-19 19:20:49 +0300
commite68c0118c13c3575e6096ad2dc7fb4434eadf38e (patch)
tree3666979de0eb23385a60a93f6f9c80196377bb85 /pose_library
parent6892d3a92e94867c80bdc25373ee9d6ef5e8c6ce (diff)
Pose Library: explicitly call `pose_action.asset_generate_preview()`
Explicitly call `ID.asset_generate_preview()` after marking the pose as asset. This is required since rB1c5722ba071a
Diffstat (limited to 'pose_library')
-rw-r--r--pose_library/pose_creation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pose_library/pose_creation.py b/pose_library/pose_creation.py
index ffebd22d..12293e33 100644
--- a/pose_library/pose_creation.py
+++ b/pose_library/pose_creation.py
@@ -316,6 +316,7 @@ def create_pose_asset(
return None
pose_action.asset_mark()
+ pose_action.asset_generate_preview()
return pose_action