refresh talkinghead char on expression zip upload

This commit is contained in:
Juha Jeronen 2024-02-05 00:45:50 +02:00
parent 3b526ce207
commit 5ad2a0d064
1 changed files with 5 additions and 0 deletions

View File

@ -1525,6 +1525,11 @@ async function onClickExpressionUploadPackButton() {
// Reset the input // Reset the input
e.target.form.reset(); e.target.form.reset();
// In Talkinghead mode, refresh the live char.
if (isTalkingHeadEnabled() && modules.includes('talkinghead')) {
await loadTalkingHead();
}
}; };
$('#expression_upload_pack') $('#expression_upload_pack')