From e68c0118c13c3575e6096ad2dc7fb4434eadf38e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= <sybren@blender.org>
Date: Tue, 19 Oct 2021 18:20:49 +0200
Subject: [PATCH] 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
---
 pose_library/pose_creation.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pose_library/pose_creation.py b/pose_library/pose_creation.py
index ffebd22d8..12293e334 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
 
 
-- 
GitLab