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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user