1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-23 05:14:13 +02:00
This commit is contained in:
syuilo
2026-04-24 19:38:25 +09:00
parent e62c85a971
commit 58feedb53d
11 changed files with 66 additions and 0 deletions

View File

@@ -85,6 +85,12 @@ export const allInOnePc = defineObject({
applyFit();
const applyCustomPicture = () => new Promise<void>((resolve) => {
// テクスチャの読み込みに失敗したときの救済
// TODO: 丁寧な実装に直す
setTimeout(() => {
resolve();
}, 10000);
if (options.customPicture != null) {
const tex = new BABYLON.Texture(options.customPicture, scene, false, false);
tex.wrapU = BABYLON.Texture.MIRROR_ADDRESSMODE;