fix(character): fix setBackground error

This commit is contained in:
Axel Cocat 2022-05-14 23:46:35 +02:00
parent f34edb0ea0
commit 11f13544c9

View file

@ -307,6 +307,7 @@
viewer.options.background = file;
viewer.renderer.loadBackground();
viewer.options.contentPath = originalContentPath;
viewer.options.background = undefined;
}
if (charData.mounts.length === 0) {