开发模式下初始化为俯视图

pull/360/head
ChenX 5 years ago
parent 2b827316ca
commit ae4f7fbac3

@ -5,6 +5,7 @@ import { SMAAPass } from "three/examples/jsm/postprocessing/SMAAPass";
import { begin, end } from 'xaop'; import { begin, end } from 'xaop';
import { app } from '../ApplicationServices/Application'; import { app } from '../ApplicationServices/Application';
import { arrayRemoveOnce } from '../Common/ArrayExt'; import { arrayRemoveOnce } from '../Common/ArrayExt';
import { IsDev } from '../Common/Deving';
import { GetEntity } from '../Common/Utils'; import { GetEntity } from '../Common/Utils';
import { Database } from '../DatabaseServices/Database'; import { Database } from '../DatabaseServices/Database';
import { Entity } from '../DatabaseServices/Entity/Entity'; import { Entity } from '../DatabaseServices/Entity/Entity';
@ -69,8 +70,9 @@ export class Viewer
this.InitRender(canvasContainer); this.InitRender(canvasContainer);
this.StartRender(); this.StartRender();
//默认西南等轴视图 if (!IsDev())
this.ViewToSwiso(); //默认西南等轴视图
this.ViewToSwiso();
let self = this; let self = this;
end(new Entity().Update, function () end(new Entity().Update, function ()

Loading…
Cancel
Save