瀏覽代碼

上传场景关联全景图 去掉s3环境创建capture软连接

dsx 2 年之前
父節點
當前提交
ac50372d72
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/main/java/com/fdkankan/scene/service/impl/SceneEditInfoServiceImpl.java

+ 4 - 4
src/main/java/com/fdkankan/scene/service/impl/SceneEditInfoServiceImpl.java

@@ -1980,10 +1980,10 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
             cn.hutool.core.io.FileUtil.del(resultPath);
         }
         //下载data.fdage
-        if(FYunTypeEnum.AWS.code().equals(this.fyunType)){
-            //亚马逊保持旧方式,超链接capture
-            CreateObjUtil.createSoftConnection(path + File.separator + "capture", capturePath);
-        }
+//        if(FYunTypeEnum.AWS.code().equals(this.fyunType)){
+//            //亚马逊保持旧方式,超链接capture
+//            CreateObjUtil.createSoftConnection(path + File.separator + "capture", capturePath);
+//        }
         fYunFileService.downloadFile(ConstantFilePath.OSS_PREFIX + path.replace(ConstantFilePath.BUILD_MODEL_PATH, "") + "/data.fdage", capturePath + "/data.fdage");
         CreateObjUtil.build3dModel(target , "1");