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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user