Browse Source

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

maxiaoxiao 11 tháng trước cách đây
mục cha
commit
38a4249f3b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);