mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00:00
Update engine.ts
This commit is contained in:
@@ -861,6 +861,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;
|
||||||
|
|
||||||
|
// シェイプキー(morph)を考慮してbounding boxを更新するために必要
|
||||||
mesh.refreshBoundingInfo({ applyMorph: true });
|
mesh.refreshBoundingInfo({ applyMorph: true });
|
||||||
//mesh.showBoundingBox = _DEV_;
|
//mesh.showBoundingBox = _DEV_;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user