1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 17:35:40 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-04-03 18:55:50 +09:00
parent 4efe4fb519
commit 6bf4feaef5

View File

@@ -1260,6 +1260,7 @@ export class RoomEngine {
const ghost = mesh.clone('ghost', null, false)!;
ghost.metadata = { isGhost: true };
/* なんかエラーになる
const materials = new WeakMap<BABYLON.Material, BABYLON.Material>();
for (const m of ghost.getChildMeshes() as BABYLON.Mesh[]) {
@@ -1293,6 +1294,7 @@ export class RoomEngine {
m.material = ghostMaterial;
}
}
*/
return ghost;
}