Explorar o código

添加模型加载视角适配颜色

maxiaoxiao hai 11 meses
pai
achega
38a4249f3b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/Combinations/LayerManage/LayerManage.vue

+ 1 - 1
src/components/Combinations/LayerManage/LayerManage.vue

@@ -279,7 +279,7 @@ export default {
         switch (obj.type) {
           case "S3M": //场景
             let s = viewer.scene.open(obj.url, undefined, {
-              autoSetView: false
+              autoSetView: obj.title != '倾斜摄影'
             });
             this.vectorlayerlist.push(obj);
             this.promiseWhen([s], undefined, obj);