1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-22 19:54:03 +02:00
This commit is contained in:
syuilo
2026-03-26 20:27:10 +09:00
parent 7f5858a66f
commit 42c7a483a4
2 changed files with 5 additions and 5 deletions

View File

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