fix(character): fix setBackground error
This commit is contained in:
parent
f34edb0ea0
commit
11f13544c9
1 changed files with 1 additions and 0 deletions
|
|
@ -307,6 +307,7 @@
|
||||||
viewer.options.background = file;
|
viewer.options.background = file;
|
||||||
viewer.renderer.loadBackground();
|
viewer.renderer.loadBackground();
|
||||||
viewer.options.contentPath = originalContentPath;
|
viewer.options.contentPath = originalContentPath;
|
||||||
|
viewer.options.background = undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (charData.mounts.length === 0) {
|
if (charData.mounts.length === 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue