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-03 13:45:43 +09:00
parent e8d8242c09
commit f367bc37f8
4 changed files with 45 additions and 45 deletions

View File

@@ -15,8 +15,8 @@ export const tv = defineObject({
default: {},
},
placement: 'top',
createInstance: ({ room, root }) => {
const screenMesh = root.getChildMeshes().find(m => m.name.includes('__TV_SCREEN__')) as BABYLON.Mesh;
createInstance: ({ room, model }) => {
const screenMesh = model.findMesh('__TV_SCREEN__');
screenMesh.markVerticesDataAsUpdatable(BABYLON.VertexBuffer.UVKind, true);
initTv(room, screenMesh);