1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 13:25:48 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-04-14 12:53:29 +09:00
parent 357aeff407
commit 28030ea3fa

View File

@@ -757,10 +757,13 @@ export class RoomEngine {
}); });
if (_DEV_) { if (_DEV_) {
const axes = new AxesViewer(this.scene, 30); // snapshot renderingかつglow layerが有効だとなんかクラッシュする
axes.xAxis.position = new BABYLON.Vector3(0, 30, 0); if (!(SNAPSHOT_RENDERING && USE_GLOW)) {
axes.yAxis.position = new BABYLON.Vector3(0, 30, 0); const axes = new AxesViewer(this.scene, 30);
axes.zAxis.position = new BABYLON.Vector3(0, 30, 0); axes.xAxis.position = new BABYLON.Vector3(0, 30, 0);
axes.yAxis.position = new BABYLON.Vector3(0, 30, 0);
axes.zAxis.position = new BABYLON.Vector3(0, 30, 0);
}
(window as any).showBabylonInspector = () => { (window as any).showBabylonInspector = () => {
ShowInspector(this.scene); ShowInspector(this.scene);