1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-15 11:35:44 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-04-06 15:35:21 +09:00
parent 602c8d8be1
commit a54a8a10ad

View File

@@ -1129,6 +1129,7 @@ export class RoomEngine {
private clearHighlight() {
if (this.selectionOutlineLayer != null) {
// SelectionOutlineLayerは存在するだけでドローコールが増えるのでclearじゃなく都度dispose
// あとこれ https://forum.babylonjs.com/t/selectionoutlinelayer-error-when-webgpus-compatibilitymode-is-false/63067
this.selectionOutlineLayer.dispose();
this.selectionOutlineLayer = null;
}