mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update engine.ts
This commit is contained in:
parent
fb0c089a16
commit
82373f24d9
1 changed files with 1 additions and 1 deletions
|
|
@ -1250,7 +1250,7 @@ export class RoomEngine {
|
|||
}
|
||||
|
||||
private highlightMeshes(meshes: BABYLON.AbstractMesh[]) {
|
||||
this.clearHighlight(); // SelectionOutlineLayerは存在するだけでドローコールが増えるので都度dispose
|
||||
this.clearHighlight(); // SelectionOutlineLayerは存在するだけでドローコールが増えるので都度dispose https://forum.babylonjs.com/t/selectionoutlinelayer-doubles-the-number-of-draw-calls-despite-having-no-selection/63084
|
||||
this.selectionOutlineLayer = new BABYLON.SelectionOutlineLayer('outliner', this.scene);
|
||||
this.selectionOutlineLayer.addSelection(meshes);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue