mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 15:15:45 +02:00
wip
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -61,6 +61,12 @@ export const djPlayer = defineObject({
|
||||
applyFit();
|
||||
|
||||
const applyCustomPicture = () => new Promise<void>((resolve) => {
|
||||
// テクスチャの読み込みに失敗したときの救済
|
||||
// TODO: 丁寧な実装に直す
|
||||
setTimeout(() => {
|
||||
resolve();
|
||||
}, 10000);
|
||||
|
||||
if (options.customPicture != null && options.customPicture !== '') {
|
||||
const tex = new BABYLON.Texture(options.customPicture, scene, false, false);
|
||||
tex.wrapU = BABYLON.Texture.MIRROR_ADDRESSMODE;
|
||||
|
||||
@@ -95,6 +95,12 @@ export const laptopPc = 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;
|
||||
|
||||
@@ -161,6 +161,12 @@ export const pictureFrame = defineObject({
|
||||
applyDepth();
|
||||
|
||||
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;
|
||||
|
||||
@@ -93,6 +93,12 @@ export const poster = defineObject({
|
||||
applySize();
|
||||
|
||||
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;
|
||||
|
||||
@@ -52,6 +52,12 @@ export const tabletopFlag = 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;
|
||||
|
||||
@@ -93,6 +93,12 @@ export const tabletopGlassPictureFrame = defineObject({
|
||||
applySize();
|
||||
|
||||
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;
|
||||
|
||||
@@ -166,6 +166,12 @@ export const tabletopPictureFrame = defineObject({
|
||||
applyDepth();
|
||||
|
||||
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;
|
||||
|
||||
@@ -97,6 +97,12 @@ export const tapestry = defineObject({
|
||||
applySize();
|
||||
|
||||
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;
|
||||
|
||||
@@ -83,6 +83,12 @@ export const wallCanvas = defineObject({
|
||||
applySize();
|
||||
|
||||
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;
|
||||
|
||||
@@ -93,6 +93,12 @@ export const wallGlassPictureFrame = defineObject({
|
||||
applySize();
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user