refresh live char when a new talkinghead image is uploaded
This commit is contained in:
parent
7f4a45a4a3
commit
a7c6f4f56e
|
@ -1265,6 +1265,11 @@ async function onClickExpressionUpload(event) {
|
|||
|
||||
// Reset the input
|
||||
e.target.form.reset();
|
||||
|
||||
// In talkinghead mode, when a new talkinghead image is uploaded, refresh the live char.
|
||||
if (extension_settings.expressions.talkinghead && id === "talkinghead") {
|
||||
await loadLiveChar();
|
||||
}
|
||||
};
|
||||
|
||||
$('#expression_upload')
|
||||
|
|
Loading…
Reference in New Issue