mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-24 13:54:12 +02:00
Update engine.ts
This commit is contained in:
@@ -860,6 +860,8 @@ export class RoomEngine {
|
|||||||
const meshUpdated = (meshes: BABYLON.Mesh[]) => {
|
const meshUpdated = (meshes: BABYLON.Mesh[]) => {
|
||||||
for (const m of meshes) {
|
for (const m of meshes) {
|
||||||
const mesh = m;
|
const mesh = m;
|
||||||
|
mesh.refreshBoundingInfo({ applyMorph: true });
|
||||||
|
//mesh.showBoundingBox = _DEV_;
|
||||||
|
|
||||||
mesh.metadata = metadata;
|
mesh.metadata = metadata;
|
||||||
mesh.checkCollisions = !hasCollisionMesh;
|
mesh.checkCollisions = !hasCollisionMesh;
|
||||||
|
|||||||
Reference in New Issue
Block a user