开启threejs缓存

pull/547/MERGE
ChenX 5 years ago
parent 819501b5ca
commit 52257c1155

@ -1,4 +1,4 @@
import { Layers, Object3D } from 'three';
import { Layers, Object3D, Cache } from 'three';
import { ErrorMonitoring } from './Common/ErrorMonitoring';
import './UI/Css/blue.less';
import './UI/Css/golden.less';
@ -6,6 +6,8 @@ import './UI/Css/style.less';
import './UI/Css/switchTheme.less';
import { WebCAD } from './UI/Layout/ApplicationLayout';
Cache.enabled = true;
//禁止用户选中
document.addEventListener("selectionchange", () =>
{

Loading…
Cancel
Save