|
@@ -1221,19 +1221,6 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
|
|
|
ScenePlusExt scenePlusExt = scenePlusExtService.getByPlusId(scenePlus.getId());
|
|
|
|
|
|
- // 拷贝文件
|
|
|
- String path = scenePlusExt.getDataSource();
|
|
|
- if (!new File(path + "/caches/reconstruction/final.bin").exists()
|
|
|
- || !new File(path + "/caches/reconstruction/chunk.json").exists()
|
|
|
- || !new File(path + "/caches/images").exists()
|
|
|
- || !new File(path + "/caches/depthmap").exists()
|
|
|
- || !new File(path + "/caches/depthmap_csc").exists()
|
|
|
- || !new File(path + "/caches/panorama.json").exists()
|
|
|
- || !new File(path + "/results/laserData/laser.ply").exists()) {
|
|
|
- log.error("生成obj缺少必要文件,生成失败!");
|
|
|
- throw new BusinessException(SceneConstant.FAILURE_CODE_5038, SceneConstant.FAILURE_MSG_5038);
|
|
|
- }
|
|
|
-
|
|
|
// 获取最新的场景名称
|
|
|
JSONObject sceneInfo = fdkkLaserService.getSceneByNum(num);
|
|
|
LambdaUpdateWrapper<ScenePlus> updateWrapper = new LambdaUpdateWrapper<>();
|