Update engine.ts

This commit is contained in:
syuilo 2026-05-15 13:06:15 +09:00
commit a95f3c9467

View file

@ -1599,10 +1599,6 @@ export class RoomEngine extends EventEmitter {
entity.instance.resetTemporaryState?.();
}
//if (this.gl != null) {
// this.gl.isEnabled = false; // 重いので切る
//}
if (this.gridPlane.material == null) {
import('@babylonjs/materials').then(m => {
this.sr.disableSnapshotRendering();
@ -1629,10 +1625,6 @@ export class RoomEngine extends EventEmitter {
this.isEditMode = false;
await this.bake();
//if (this.gl != null) {
// this.gl.isEnabled = true;
//}
}
public async bake() {